diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index a2e5311da..80fb00fbb 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -13075,7 +13075,9 @@ enabled = Conf[string]; if (!(len = enabled.length)) { return MascotTools.change({ - image: '' + image: '', + height: 0, + width: 0 }); } Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]; @@ -17244,7 +17246,7 @@ }); $.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]); } - if (g.VIEW === 'thread') { + if (g.VIEW === 'thread' || !Conf['JSON Navigation']) { Main.initThread(); } else { $.event('4chanXInitFinished'); diff --git a/builds/appchan-x.zip b/builds/appchan-x.zip index 50dd1c11e..b809c21f8 100644 Binary files a/builds/appchan-x.zip and b/builds/appchan-x.zip differ diff --git a/builds/crx/script.js b/builds/crx/script.js index e949df706..e95ae0662 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -13064,7 +13064,9 @@ enabled = Conf[string]; if (!(len = enabled.length)) { return MascotTools.change({ - image: '' + image: '', + height: 0, + width: 0 }); } Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]; @@ -17231,7 +17233,7 @@ }); $.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]); } - if (g.VIEW === 'thread') { + if (g.VIEW === 'thread' || !Conf['JSON Navigation']) { Main.initThread(); } else { $.event('4chanXInitFinished'); diff --git a/src/General/Main.coffee b/src/General/Main.coffee index e20fc852c..fb35cc8e0 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -122,7 +122,7 @@ Main = 'left=0,top=0,width=500,height=255,toolbar=0,resizable=0' $.before styleSelector.previousSibling, [$.tn '['; passLink, $.tn ']\u00A0\u00A0'] - if g.VIEW is 'thread' + if g.VIEW is 'thread' or !Conf['JSON Navigation'] Main.initThread() else $.event '4chanXInitFinished' diff --git a/src/Theming/Mascots.coffee b/src/Theming/Mascots.coffee index b8d03e4ae..5bec1bfc9 100644 --- a/src/Theming/Mascots.coffee +++ b/src/Theming/Mascots.coffee @@ -62,7 +62,7 @@ MascotTools = toggle: -> string = g.MASCOTSTRING enabled = Conf[string] - return MascotTools.change {image: ''} unless len = enabled.length + return MascotTools.change {image: '', height: 0, width: 0} unless len = enabled.length Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]