diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index b463c4328..d69807cc8 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -18116,6 +18116,10 @@ if (!Conf['JSON Navigation'] || g.VIEW === 'thread') { Main.initThread(); } + $.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 a96ca4d54..dbef87820 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -18132,6 +18132,10 @@ if (!Conf['JSON Navigation'] || g.VIEW === 'thread') { Main.initThread(); } + $.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 f550ad5a3..f9f4f106d 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -202,7 +202,11 @@ Main = # Parse HTML or skip it and start building from JSON. if !Conf['JSON Navigation'] or g.VIEW is 'thread' - Main.initThread() + Main.initThread() + + $.add d.head, $.el 'link', + href: "//s.4cdn.org/css/flags.556.css" + rel: "stylesheet" $.event '4chanXInitFinished'