From 1e7c617d80395ae588a3a7aa4181bf6957df6c0f Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sat, 11 Jan 2014 11:07:34 -0700 Subject: [PATCH] Would be nice if I checked my case before committing, no? --- builds/4chan-X.user.js | 2 +- builds/crx/script.js | 2 +- src/General/Navigate.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 1a192bd99..f46ec76e2 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -12030,7 +12030,7 @@ return; } Navigate.updateTitle(board); - if (Favicon.sfw === (sfw = !!board.ws_board)) { + if (Favicon.SFW === (sfw = !!board.ws_board)) { return; } findStyle = function(_arg) { diff --git a/builds/crx/script.js b/builds/crx/script.js index 2c00a8c49..43be32c39 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -12019,7 +12019,7 @@ return; } Navigate.updateTitle(board); - if (Favicon.sfw === (sfw = !!board.ws_board)) { + if (Favicon.SFW === (sfw = !!board.ws_board)) { return; } findStyle = function(_arg) { diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index c053f6021..6ea837c9a 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -136,7 +136,7 @@ Navigate = return unless board Navigate.updateTitle board - return if Favicon.sfw is sfw = !!board.ws_board # Board SFW status hasn't changed + return if Favicon.SFW is sfw = !!board.ws_board # Board SFW status hasn't changed findStyle = ([type, base]) -> style = d.cookie.match new RegExp "#{type}\_style\=([^;]+)"