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'