Eliminate a worthless console error

This commit is contained in:
Zixaphir 2014-03-20 10:04:10 -07:00
parent d45f737603
commit d495c74aef
3 changed files with 3 additions and 3 deletions

View File

@ -14301,7 +14301,7 @@
Header.addShortcut(psaIcon, true); Header.addShortcut(psaIcon, true);
} }
} }
if (g.VIEW === 'thread') { if (!Conf['JSON Navigation'] && g.VIEW === 'thread') {
el = $('body > div.navLinks > a'); el = $('body > div.navLinks > a');
el.textContent = ''; el.textContent = '';
el.id = 'returnIcon'; el.id = 'returnIcon';

View File

@ -14320,7 +14320,7 @@
Header.addShortcut(psaIcon, true); Header.addShortcut(psaIcon, true);
} }
} }
if (g.VIEW === 'thread') { if (!Conf['JSON Navigation'] && g.VIEW === 'thread') {
el = $('body > div.navLinks > a'); el = $('body > div.navLinks > a');
el.textContent = ''; el.textContent = '';
el.id = 'returnIcon'; el.id = 'returnIcon';

View File

@ -163,7 +163,7 @@ Style =
$.add psaIcon, psa $.add psaIcon, psa
Header.addShortcut psaIcon, true Header.addShortcut psaIcon, true
if g.VIEW is 'thread' if !Conf['JSON Navigation'] and g.VIEW is 'thread'
el = $('body > div.navLinks > a') el = $('body > div.navLinks > a')
el.textContent = '' el.textContent = ''
el.id = 'returnIcon' el.id = 'returnIcon'