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'