Release appchan x v2.8.2.
This commit is contained in:
parent
7d4f0be88f
commit
d386dcd24e
@ -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');
|
||||
|
||||
Binary file not shown.
@ -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');
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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)]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user