After contracting, isExpanding should be falsy.
This commit is contained in:
parent
c1846c01ad
commit
445edcf867
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user