fix #714
This commit is contained in:
parent
2b2b032f1b
commit
f969d7e21a
@ -18339,11 +18339,11 @@
|
|||||||
}
|
}
|
||||||
if (!Conf['JSON Navigation'] || g.VIEW === 'thread') {
|
if (!Conf['JSON Navigation'] || g.VIEW === 'thread') {
|
||||||
Main.initThread();
|
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');
|
$.event('4chanXInitFinished');
|
||||||
test = $.el('span');
|
test = $.el('span');
|
||||||
test.classList.add('a', 'b');
|
test.classList.add('a', 'b');
|
||||||
|
|||||||
@ -18356,11 +18356,11 @@
|
|||||||
}
|
}
|
||||||
if (!Conf['JSON Navigation'] || g.VIEW === 'thread') {
|
if (!Conf['JSON Navigation'] || g.VIEW === 'thread') {
|
||||||
Main.initThread();
|
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');
|
$.event('4chanXInitFinished');
|
||||||
try {
|
try {
|
||||||
return localStorage.getItem('4chan-settings');
|
return localStorage.getItem('4chan-settings');
|
||||||
|
|||||||
@ -210,10 +210,10 @@ Main =
|
|||||||
if !Conf['JSON Navigation'] or g.VIEW is 'thread'
|
if !Conf['JSON Navigation'] or g.VIEW is 'thread'
|
||||||
Main.initThread()
|
Main.initThread()
|
||||||
|
|
||||||
# JSON Navigation may not load on a page that has flags, so force their CSS to always be available.
|
# JSON Navigation may not load on a page that has flags, so force their CSS to always be available.
|
||||||
$.add d.head, $.el 'link',
|
$.add d.head, $.el 'link',
|
||||||
href: "//s.4cdn.org/css/flags.556.css"
|
href: "//s.4cdn.org/css/flags.556.css"
|
||||||
rel: "stylesheet"
|
rel: "stylesheet"
|
||||||
|
|
||||||
$.event '4chanXInitFinished'
|
$.event '4chanXInitFinished'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user