Revert "Well, that would explain the image preview jumping."
This reverts commit 5e1b8a8f7c05b5788fb66aa8a64986043c0c630f.
This commit is contained in:
parent
7221e1b2de
commit
41b72706f6
@ -310,7 +310,6 @@ UI = do ->
|
||||
isImage: el.nodeName in ['IMG', 'VIDEO']
|
||||
cb
|
||||
endEvents
|
||||
ready: false
|
||||
latestEvent
|
||||
clientHeight: doc.clientHeight
|
||||
clientWidth: doc.clientWidth
|
||||
@ -322,7 +321,6 @@ UI = do ->
|
||||
$.asap ->
|
||||
!el.parentNode or asapTest()
|
||||
, ->
|
||||
o.ready = true
|
||||
o.hover o.latestEvent if el.parentNode
|
||||
|
||||
$.on root, endEvents, o.hoverend
|
||||
@ -337,7 +335,6 @@ UI = do ->
|
||||
|
||||
hover = (e) ->
|
||||
@latestEvent = e
|
||||
return unless @ready
|
||||
height = @el.offsetHeight
|
||||
{clientX, clientY} = e
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user