After contracting, isExpanding should be falsy.
This commit is contained in:
parent
c1846c01ad
commit
445edcf867
@ -82,6 +82,7 @@ ImageExpand =
|
|||||||
contract: (post) ->
|
contract: (post) ->
|
||||||
$.rmClass post.nodes.root, 'expanded-image'
|
$.rmClass post.nodes.root, 'expanded-image'
|
||||||
$.rmClass post.file.thumb, 'expanding'
|
$.rmClass post.file.thumb, 'expanding'
|
||||||
|
delete post.file.isExpanding
|
||||||
post.file.isExpanded = false
|
post.file.isExpanded = false
|
||||||
post.file.fullImage.pause() if post.file.isVideo and post.file.fullImage
|
post.file.fullImage.pause() if post.file.isVideo and post.file.fullImage
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user