diff --git a/builds/appchan-x.js b/builds/appchan-x.js index f49862314..01081ee63 100644 --- a/builds/appchan-x.js +++ b/builds/appchan-x.js @@ -10912,11 +10912,11 @@ Style = { init: function() { + this.setup(); $.asap((function() { return d.body; }), this.asapInit); - $.ready(this.readyInit); - return this.setup(); + return $.ready(this.readyInit); }, asapInit: function() { MascotTools.init(); diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index aa008ce02..ac136023a 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -10933,11 +10933,11 @@ Style = { init: function() { + this.setup(); $.asap((function() { return d.body; }), this.asapInit); - $.ready(this.readyInit); - return this.setup(); + return $.ready(this.readyInit); }, asapInit: function() { MascotTools.init(); diff --git a/builds/crx.crx b/builds/crx.crx index 1ab75d7dc..873222dc3 100644 Binary files a/builds/crx.crx and b/builds/crx.crx differ diff --git a/builds/crx/script.js b/builds/crx/script.js index 122fbcb5a..b174a7314 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -10916,11 +10916,11 @@ Style = { init: function() { + this.setup(); $.asap((function() { return d.body; }), this.asapInit); - $.ready(this.readyInit); - return this.setup(); + return $.ready(this.readyInit); }, asapInit: function() { MascotTools.init(); diff --git a/src/Theming/Style.coffee b/src/Theming/Style.coffee index fa3acae25..14f620f6d 100644 --- a/src/Theming/Style.coffee +++ b/src/Theming/Style.coffee @@ -1,8 +1,8 @@ Style = init: -> + @setup() $.asap (-> d.body), @asapInit $.ready @readyInit - @setup() asapInit: -> MascotTools.init()