From 5e62562577c8b0b2806ececfee16d393b3f6377f Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Wed, 3 Jul 2013 02:25:31 -0700 Subject: [PATCH] Was causing icons not to load --- builds/appchan-x.user.js | 2 +- builds/crx/script.js | 2 +- src/Theming/Style.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 78b13d413..b16d94cff 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -11363,7 +11363,7 @@ return d.body; }), this.asapInit); $.on(window, "resize", Style.padding); - return $.on(doc, '4chanXInitFinished', this.readyInit); + return $.ready(this.readyInit); }, asapInit: function() { var cat, hyphenated, name, setting, title, _ref; diff --git a/builds/crx/script.js b/builds/crx/script.js index 58244e255..c8ddb7181 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -11351,7 +11351,7 @@ return d.body; }), this.asapInit); $.on(window, "resize", Style.padding); - return $.on(doc, '4chanXInitFinished', this.readyInit); + return $.ready(this.readyInit); }, asapInit: function() { var cat, hyphenated, name, setting, title, _ref; diff --git a/src/Theming/Style.coffee b/src/Theming/Style.coffee index 7374d2ef6..c2ae89c8b 100644 --- a/src/Theming/Style.coffee +++ b/src/Theming/Style.coffee @@ -3,7 +3,7 @@ Style = @setup() $.asap (-> d.body), @asapInit $.on window, "resize", Style.padding - $.on doc, '4chanXInitFinished', @readyInit + $.ready @readyInit asapInit: -> <% if (type === 'crx') { %>