From d495c74aef213979df4480b1f58452f36c63a758 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Thu, 20 Mar 2014 10:04:10 -0700 Subject: [PATCH] Eliminate a worthless console error --- builds/appchan-x.user.js | 2 +- builds/crx/script.js | 2 +- src/Theming/Style.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 4921f2659..d3aedc697 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -14301,7 +14301,7 @@ Header.addShortcut(psaIcon, true); } } - if (g.VIEW === 'thread') { + if (!Conf['JSON Navigation'] && g.VIEW === 'thread') { el = $('body > div.navLinks > a'); el.textContent = ''; el.id = 'returnIcon'; diff --git a/builds/crx/script.js b/builds/crx/script.js index 3bd5ffd94..8f7546655 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -14320,7 +14320,7 @@ Header.addShortcut(psaIcon, true); } } - if (g.VIEW === 'thread') { + if (!Conf['JSON Navigation'] && g.VIEW === 'thread') { el = $('body > div.navLinks > a'); el.textContent = ''; el.id = 'returnIcon'; diff --git a/src/Theming/Style.coffee b/src/Theming/Style.coffee index 7af639932..e213847bc 100644 --- a/src/Theming/Style.coffee +++ b/src/Theming/Style.coffee @@ -163,7 +163,7 @@ Style = $.add psaIcon, psa Header.addShortcut psaIcon, true - if g.VIEW is 'thread' + if !Conf['JSON Navigation'] and g.VIEW is 'thread' el = $('body > div.navLinks > a') el.textContent = '' el.id = 'returnIcon'