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\=([^;]+)"