Fix Click Passthrough being applied to images.
This commit is contained in:
parent
704a39c307
commit
c816d0312b
@ -82,7 +82,7 @@ ImageCommon =
|
||||
|
||||
# XXX Estimate whether clicks are on the video controls and should be ignored.
|
||||
onControls: (e) ->
|
||||
(Conf['Show Controls'] and Conf['Click Passthrough']) or
|
||||
(Conf['Show Controls'] and Conf['Click Passthrough'] and e.target.nodeName is 'VIDEO') or
|
||||
(e.target.controls and e.target.getBoundingClientRect().bottom - e.clientY < 35)
|
||||
|
||||
download: (e) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user