need to change it here too

This commit is contained in:
ccd0 2014-04-07 21:05:38 -07:00
parent f64fa9e08a
commit f490aab2ab
3 changed files with 3 additions and 3 deletions

View File

@ -7614,7 +7614,7 @@
});
}
} else if (ImageExpand.on && !this.isHidden && (Conf['Expand spoilers'] || !this.file.isSpoiler)) {
return ImageExpand.expand(this);
return ImageExpand.expand(this, null, true);
}
},
cb: {

View File

@ -7633,7 +7633,7 @@
});
}
} else if (ImageExpand.on && !this.isHidden && (Conf['Expand spoilers'] || !this.file.isSpoiler)) {
return ImageExpand.expand(this);
return ImageExpand.expand(this, null, true);
}
},
cb: {

View File

@ -28,7 +28,7 @@ ImageExpand =
unless clone.origin.file.fullImage.paused
$.queueTask -> ImageExpand.startVideo clone
else if ImageExpand.on and !@isHidden and (Conf['Expand spoilers'] or !@file.isSpoiler)
ImageExpand.expand @
ImageExpand.expand @, null, true
cb:
toggle: (e) ->
return if e.shiftKey or e.altKey or e.ctrlKey or e.metaKey or e.button isnt 0