Remove mascot and theme tempfix
This commit is contained in:
parent
2a7113ebdf
commit
f757aad8cb
@ -17186,12 +17186,6 @@
|
||||
'CachedTitles': {}
|
||||
});
|
||||
return $.get(Conf, function(items) {
|
||||
if (items.userMascots instanceof Array) {
|
||||
$.set('userMascots', items.userMascots = {});
|
||||
}
|
||||
if (items.userThemes instanceof Array) {
|
||||
$.set('userThemes', items.userThemes = {});
|
||||
}
|
||||
$.extend(Conf, items);
|
||||
return Main.initFeatures();
|
||||
});
|
||||
|
||||
@ -17174,12 +17174,6 @@
|
||||
'CachedTitles': {}
|
||||
});
|
||||
return $.get(Conf, function(items) {
|
||||
if (items.userMascots instanceof Array) {
|
||||
$.set('userMascots', items.userMascots = {});
|
||||
}
|
||||
if (items.userThemes instanceof Array) {
|
||||
$.set('userThemes', items.userThemes = {});
|
||||
}
|
||||
$.extend(Conf, items);
|
||||
return Main.initFeatures();
|
||||
});
|
||||
|
||||
@ -43,9 +43,6 @@ Main =
|
||||
'CachedTitles': {}
|
||||
|
||||
$.get Conf, (items) ->
|
||||
# TempFix for accidental declaration as an array. Remove by 2.4.?
|
||||
$.set 'userMascots', items.userMascots = {} if items.userMascots instanceof Array
|
||||
$.set 'userThemes', items.userThemes = {} if items.userThemes instanceof Array
|
||||
$.extend Conf, items
|
||||
Main.initFeatures()
|
||||
|
||||
|
||||
@ -367,4 +367,4 @@ MascotTools =
|
||||
reposition: ->
|
||||
return unless Style.mascot
|
||||
mascot = Mascots[Conf['mascot']]
|
||||
Style.mascot.textContent = """<%= grunt.file.read('src/General/css/mascot.css') %>"""
|
||||
Style.mascot.textContent = """<%= grunt.file.read('src/General/css/mascot.css') %>"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user