fix more dumb mistakes
This commit is contained in:
parent
10859fed95
commit
d25a0cecfd
@ -211,8 +211,8 @@ ImageExpand =
|
||||
setupVideoCB: (post) ->
|
||||
for eventName, cb of ImageExpand.videoCB
|
||||
$.on post.file.fullImage, eventName, cb
|
||||
if {videoControls} = post.file
|
||||
$.on videoControls.firstElementChild, 'click', -> ImageExpand.contract post
|
||||
if post.file.videoControls
|
||||
$.on post.file.videoControls.firstElementChild, 'click', -> ImageExpand.contract post
|
||||
|
||||
error: ->
|
||||
post = Get.postFromNode @
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user