After contracting, isExpanding should be falsy.

This commit is contained in:
Mayhem 2014-04-07 12:05:37 +02:00
parent c1846c01ad
commit 445edcf867

View File

@ -82,6 +82,7 @@ ImageExpand =
contract: (post) ->
$.rmClass post.nodes.root, 'expanded-image'
$.rmClass post.file.thumb, 'expanding'
delete post.file.isExpanding
post.file.isExpanded = false
post.file.fullImage.pause() if post.file.isVideo and post.file.fullImage