Release appchan x v2.8.2.

This commit is contained in:
Zixaphir 2014-01-13 19:58:06 -07:00
parent 7d4f0be88f
commit d386dcd24e
5 changed files with 10 additions and 6 deletions

View File

@ -13075,7 +13075,9 @@
enabled = Conf[string]; enabled = Conf[string];
if (!(len = enabled.length)) { if (!(len = enabled.length)) {
return MascotTools.change({ return MascotTools.change({
image: '' image: '',
height: 0,
width: 0
}); });
} }
Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]; Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)];
@ -17244,7 +17246,7 @@
}); });
$.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]); $.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]);
} }
if (g.VIEW === 'thread') { if (g.VIEW === 'thread' || !Conf['JSON Navigation']) {
Main.initThread(); Main.initThread();
} else { } else {
$.event('4chanXInitFinished'); $.event('4chanXInitFinished');

Binary file not shown.

View File

@ -13064,7 +13064,9 @@
enabled = Conf[string]; enabled = Conf[string];
if (!(len = enabled.length)) { if (!(len = enabled.length)) {
return MascotTools.change({ return MascotTools.change({
image: '' image: '',
height: 0,
width: 0
}); });
} }
Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]; Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)];
@ -17231,7 +17233,7 @@
}); });
$.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]); $.before(styleSelector.previousSibling, [$.tn('['), passLink, $.tn(']\u00A0\u00A0')]);
} }
if (g.VIEW === 'thread') { if (g.VIEW === 'thread' || !Conf['JSON Navigation']) {
Main.initThread(); Main.initThread();
} else { } else {
$.event('4chanXInitFinished'); $.event('4chanXInitFinished');

View File

@ -122,7 +122,7 @@ Main =
'left=0,top=0,width=500,height=255,toolbar=0,resizable=0' 'left=0,top=0,width=500,height=255,toolbar=0,resizable=0'
$.before styleSelector.previousSibling, [$.tn '['; passLink, $.tn ']\u00A0\u00A0'] $.before styleSelector.previousSibling, [$.tn '['; passLink, $.tn ']\u00A0\u00A0']
if g.VIEW is 'thread' if g.VIEW is 'thread' or !Conf['JSON Navigation']
Main.initThread() Main.initThread()
else else
$.event '4chanXInitFinished' $.event '4chanXInitFinished'

View File

@ -62,7 +62,7 @@ MascotTools =
toggle: -> toggle: ->
string = g.MASCOTSTRING string = g.MASCOTSTRING
enabled = Conf[string] 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)] Conf['mascot'] = name = enabled[i = Math.floor(Math.random() * len)]