From 930b04171be203269a33375c8ccce9f1950919d7 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Tue, 6 Aug 2013 16:55:14 -0700 Subject: [PATCH] Honestly... Even if you change the mascot after disabling it, it shouldn't be a live setting. --- builds/appchan-x.user.js | 4 ---- builds/crx/script.js | 4 ---- src/Theming/Mascots.coffee | 4 ---- 3 files changed, 12 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 4f20f4e5a..41977d987 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -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'); diff --git a/builds/crx/script.js b/builds/crx/script.js index d056408be..f02e7fa81 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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'); diff --git a/src/Theming/Mascots.coffee b/src/Theming/Mascots.coffee index 0cea804c0..e1b26f6a1 100644 --- a/src/Theming/Mascots.coffee +++ b/src/Theming/Mascots.coffee @@ -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'