Honestly...
Even if you change the mascot after disabling it, it shouldn't be a live setting.
This commit is contained in:
parent
ee0f931cc8
commit
930b04171b
@ -11088,10 +11088,6 @@
|
||||
var el;
|
||||
|
||||
el = this.el.firstElementChild;
|
||||
if (!Conf['Mascots']) {
|
||||
el.src = "";
|
||||
return;
|
||||
}
|
||||
if (Conf['Mascot Position'] === 'default') {
|
||||
$.rmClass(doc, 'mascot-position-above-post-form');
|
||||
$.rmClass(doc, 'mascot-position-bottom');
|
||||
|
||||
@ -11075,10 +11075,6 @@
|
||||
var el;
|
||||
|
||||
el = this.el.firstElementChild;
|
||||
if (!Conf['Mascots']) {
|
||||
el.src = "";
|
||||
return;
|
||||
}
|
||||
if (Conf['Mascot Position'] === 'default') {
|
||||
$.rmClass(doc, 'mascot-position-above-post-form');
|
||||
$.rmClass(doc, 'mascot-position-bottom');
|
||||
|
||||
@ -19,10 +19,6 @@ MascotTools =
|
||||
change: (mascot) ->
|
||||
el = @el.firstElementChild
|
||||
|
||||
if !Conf['Mascots']
|
||||
el.src = ""
|
||||
return
|
||||
|
||||
if Conf['Mascot Position'] is 'default'
|
||||
$.rmClass doc, 'mascot-position-above-post-form'
|
||||
$.rmClass doc, 'mascot-position-bottom'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user