From ecaed2c52e0cc42602f99cf198126d1c39faf54f Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 11 Sep 2011 11:14:27 -0700 Subject: [PATCH] favicon only in replies --- 4chan_x.user.js | 2 +- script.coffee | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index fc0ea6de3..49cd57050 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2850,7 +2850,6 @@ if (!$('#navtopr')) { return; } - Favicon.init(); g.hiddenReplies = $.get("hiddenReplies/" + g.BOARD + "/", {}); tzOffset = (new Date()).getTimezoneOffset() / 60; g.chanOffset = 5 - tzOffset; @@ -2949,6 +2948,7 @@ keybinds.init(); } if (g.REPLY) { + Favicon.init(); if (conf['Thread Updater']) { updater.init(); } diff --git a/script.coffee b/script.coffee index 7ac64d6fc..388541c53 100644 --- a/script.coffee +++ b/script.coffee @@ -2199,7 +2199,6 @@ main = if not $ '#navtopr' return - Favicon.init() g.hiddenReplies = $.get "hiddenReplies/#{g.BOARD}/", {} tzOffset = (new Date()).getTimezoneOffset() / 60 # GMT -8 is given as +480; would GMT +8 be -480 ? @@ -2296,6 +2295,8 @@ main = keybinds.init() if g.REPLY + Favicon.init() + if conf['Thread Updater'] updater.init()