From f969d7e21a571a2d5c2170e3c69592251d6c5244 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 3 May 2014 12:46:16 -0700 Subject: [PATCH] fix #714 --- builds/appchan-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/appchan-x.user.js b/builds/appchan-x.user.js index 58a678e98..363d34597 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -18339,11 +18339,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 23623d3c1..de698a5cc 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -18356,11 +18356,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 08dfd7e20..fd9ff37a5 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -210,10 +210,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'