This commit is contained in:
Mayhem 2013-08-18 00:15:50 +02:00
parent eb2ea88ede
commit dd8748fbfb

View File

@ -22,7 +22,7 @@ ImageExpand =
ImageExpand.contract @
ImageExpand.expand @
return
if ImageExpand.on and !@isHidden
if ImageExpand.on and !@isHidden and (Conf['Expand spoilers'] or !@file.isSpoiler)
ImageExpand.expand @
cb:
toggle: (e) ->