fix #714
This commit is contained in:
parent
541882103a
commit
e4efa68044
@ -14012,11 +14012,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');
|
||||||
|
|||||||
@ -14030,11 +14030,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');
|
||||||
|
|||||||
@ -201,10 +201,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