This commit is contained in:
Mayhem 2014-04-05 13:53:52 +02:00
parent 9ee39b3908
commit 62321ecb18

View File

@ -12,7 +12,7 @@ ImageHover =
return unless @file and (@file.isImage or @file.isVideo)
$.on @file.thumb, 'mouseover', ImageHover.mouseover
catalogNode: ->
return unless @thread.OP.file and (@thread.OP.file.isImage @thread.OP.file.isVideo)
return unless @thread.OP.file and (@thread.OP.file.isImage or @thread.OP.file.isVideo)
$.on @nodes.thumb, 'mouseover', ImageHover.mouseover
mouseover: (e) ->
post = if $.hasClass @, 'thumb'