shorter navtopr selector
This commit is contained in:
parent
db251aee8b
commit
f205a39f78
@ -1817,7 +1817,7 @@
|
|||||||
qr.sys();
|
qr.sys();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (navtopr = $('#navtopr a')) {
|
if (navtopr = $('#navtopr')) {
|
||||||
options.init();
|
options.init();
|
||||||
} else if ($.config('404 Redirect') && d.title === '4chan - 404') {
|
} else if ($.config('404 Redirect') && d.title === '4chan - 404') {
|
||||||
redirect();
|
redirect();
|
||||||
|
|||||||
@ -1436,7 +1436,7 @@ $.addStyle '
|
|||||||
if location.hostname is 'sys.4chan.org'
|
if location.hostname is 'sys.4chan.org'
|
||||||
qr.sys()
|
qr.sys()
|
||||||
return
|
return
|
||||||
if navtopr = $ '#navtopr a'
|
if navtopr = $ '#navtopr'
|
||||||
options.init()
|
options.init()
|
||||||
else if $.config('404 Redirect') and d.title is '4chan - 404'
|
else if $.config('404 Redirect') and d.title is '4chan - 404'
|
||||||
redirect()
|
redirect()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user