favicon only in replies

This commit is contained in:
James Campos 2011-09-11 11:14:27 -07:00
parent 941cd4bfe9
commit ecaed2c52e
2 changed files with 3 additions and 2 deletions

View File

@ -2850,7 +2850,6 @@
if (!$('#navtopr')) { if (!$('#navtopr')) {
return; return;
} }
Favicon.init();
g.hiddenReplies = $.get("hiddenReplies/" + g.BOARD + "/", {}); g.hiddenReplies = $.get("hiddenReplies/" + g.BOARD + "/", {});
tzOffset = (new Date()).getTimezoneOffset() / 60; tzOffset = (new Date()).getTimezoneOffset() / 60;
g.chanOffset = 5 - tzOffset; g.chanOffset = 5 - tzOffset;
@ -2949,6 +2948,7 @@
keybinds.init(); keybinds.init();
} }
if (g.REPLY) { if (g.REPLY) {
Favicon.init();
if (conf['Thread Updater']) { if (conf['Thread Updater']) {
updater.init(); updater.init();
} }

View File

@ -2199,7 +2199,6 @@ main =
if not $ '#navtopr' if not $ '#navtopr'
return return
Favicon.init()
g.hiddenReplies = $.get "hiddenReplies/#{g.BOARD}/", {} g.hiddenReplies = $.get "hiddenReplies/#{g.BOARD}/", {}
tzOffset = (new Date()).getTimezoneOffset() / 60 tzOffset = (new Date()).getTimezoneOffset() / 60
# GMT -8 is given as +480; would GMT +8 be -480 ? # GMT -8 is given as +480; would GMT +8 be -480 ?
@ -2296,6 +2295,8 @@ main =
keybinds.init() keybinds.init()
if g.REPLY if g.REPLY
Favicon.init()
if conf['Thread Updater'] if conf['Thread Updater']
updater.init() updater.init()