shorter navtopr selector

This commit is contained in:
James Campos 2011-04-06 05:37:39 -07:00
parent db251aee8b
commit f205a39f78
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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()