From e4efa68044a9494fff2c64bcf12a0a232d679738 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 3 May 2014 12:46:16 -0700 Subject: [PATCH] fix #714 --- builds/4chan-X.user.js | 8 ++++---- builds/crx/script.js | 8 ++++---- src/General/Main.coffee | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 31240de88..c579e76bb 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -14012,11 +14012,11 @@ } if (!Conf['JSON Navigation'] || g.VIEW === 'thread') { Main.initThread(); - $.add(d.head, $.el('link', { - href: "//s.4cdn.org/css/flags.556.css", - rel: "stylesheet" - })); } + $.add(d.head, $.el('link', { + href: "//s.4cdn.org/css/flags.556.css", + rel: "stylesheet" + })); $.event('4chanXInitFinished'); test = $.el('span'); test.classList.add('a', 'b'); diff --git a/builds/crx/script.js b/builds/crx/script.js index 293ec4e3c..5004d1512 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -14030,11 +14030,11 @@ } if (!Conf['JSON Navigation'] || g.VIEW === 'thread') { Main.initThread(); - $.add(d.head, $.el('link', { - href: "//s.4cdn.org/css/flags.556.css", - rel: "stylesheet" - })); } + $.add(d.head, $.el('link', { + href: "//s.4cdn.org/css/flags.556.css", + rel: "stylesheet" + })); $.event('4chanXInitFinished'); try { return localStorage.getItem('4chan-settings'); diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 3842c671b..8874fdf19 100755 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -201,10 +201,10 @@ Main = if !Conf['JSON Navigation'] or g.VIEW is 'thread' Main.initThread() - # JSON Navigation may not load on a page that has flags, so force their CSS to always be available. - $.add d.head, $.el 'link', - href: "//s.4cdn.org/css/flags.556.css" - rel: "stylesheet" + # JSON Navigation may not load on a page that has flags, so force their CSS to always be available. + $.add d.head, $.el 'link', + href: "//s.4cdn.org/css/flags.556.css" + rel: "stylesheet" $.event '4chanXInitFinished'