This commit is contained in:
Brandon 2014-05-03 12:46:16 -07:00 committed by Zixaphir
parent 541882103a
commit e4efa68044
3 changed files with 12 additions and 12 deletions

View File

@ -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');

View File

@ -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');

View File

@ -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'