From ca45ed6fe165f1fe7dba66a746b3cb3d828118d6 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Wed, 19 Mar 2014 07:47:22 -0700 Subject: [PATCH] Typo --- builds/appchan-x.user.js | 2 +- builds/crx/script.js | 2 +- src/General/Main.coffee | 2 +- src/Linkification/Linkify.coffee | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 33e6721bc..721705b7f 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -17951,7 +17951,7 @@ }); $.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]); } - if (!Conf['JSON Navigation'] in g.VIEW === 'thread') { + if (!Conf['JSON Navigation'] || g.VIEW === 'thread') { Main.initThread(); } else { $.event('4chanXInitFinished'); diff --git a/builds/crx/script.js b/builds/crx/script.js index 53721fddb..408a1f96f 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -17962,7 +17962,7 @@ }); $.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]); } - if (!Conf['JSON Navigation'] in g.VIEW === 'thread') { + if (!Conf['JSON Navigation'] || g.VIEW === 'thread') { Main.initThread(); } else { $.event('4chanXInitFinished'); diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 060c6a9c6..713e9204a 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -196,7 +196,7 @@ Main = $.before styleSelector.previousSibling, [$.tn '['; passLink, $.tn ']\u00A0\u00A0'] # Parse HTML or skip it and start building from JSON. - if !Conf['JSON Navigation'] of g.VIEW is 'thread' + if !Conf['JSON Navigation'] or g.VIEW is 'thread' Main.initThread() else $.event '4chanXInitFinished' diff --git a/src/Linkification/Linkify.coffee b/src/Linkification/Linkify.coffee index 8ae32024b..2976c1072 100755 --- a/src/Linkification/Linkify.coffee +++ b/src/Linkification/Linkify.coffee @@ -190,7 +190,7 @@ Linkify = embed.dataset.title = title[0] else try - $.cache service.api(uid), + $.cache service.api(uid), -> title = Linkify.cb.title @, data , responseType: 'json'