Remove scroll lock break on mouse usage.
This commit is contained in:
parent
27ca5571d7
commit
d276952cee
@ -143,7 +143,6 @@ QR =
|
|||||||
if d.activeElement and QR.nodes.el.contains(d.activeElement) and d.activeElement.nodeName is 'IFRAME'
|
if d.activeElement and QR.nodes.el.contains(d.activeElement) and d.activeElement.nodeName is 'IFRAME'
|
||||||
QR.scrollY = window.scrollY
|
QR.scrollY = window.scrollY
|
||||||
$.on d, 'scroll', QR.scrollLock
|
$.on d, 'scroll', QR.scrollLock
|
||||||
$.one d, 'mousemove wheel', -> $.off d, 'scroll', QR.scrollLock
|
|
||||||
else
|
else
|
||||||
$.off d, 'scroll', QR.scrollLock
|
$.off d, 'scroll', QR.scrollLock
|
||||||
scrollLock: (e) ->
|
scrollLock: (e) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user