Remove mascot and theme tempfix
This commit is contained in:
parent
2a7113ebdf
commit
f757aad8cb
@ -17186,12 +17186,6 @@
|
|||||||
'CachedTitles': {}
|
'CachedTitles': {}
|
||||||
});
|
});
|
||||||
return $.get(Conf, function(items) {
|
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);
|
$.extend(Conf, items);
|
||||||
return Main.initFeatures();
|
return Main.initFeatures();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -17174,12 +17174,6 @@
|
|||||||
'CachedTitles': {}
|
'CachedTitles': {}
|
||||||
});
|
});
|
||||||
return $.get(Conf, function(items) {
|
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);
|
$.extend(Conf, items);
|
||||||
return Main.initFeatures();
|
return Main.initFeatures();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -43,9 +43,6 @@ Main =
|
|||||||
'CachedTitles': {}
|
'CachedTitles': {}
|
||||||
|
|
||||||
$.get Conf, (items) ->
|
$.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
|
$.extend Conf, items
|
||||||
Main.initFeatures()
|
Main.initFeatures()
|
||||||
|
|
||||||
|
|||||||
@ -367,4 +367,4 @@ MascotTools =
|
|||||||
reposition: ->
|
reposition: ->
|
||||||
return unless Style.mascot
|
return unless Style.mascot
|
||||||
mascot = Mascots[Conf['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