Remove scroll lock break on mouse usage.

This commit is contained in:
ccd0 2014-12-22 21:06:30 -08:00
parent 27ca5571d7
commit d276952cee

View File

@ -143,7 +143,6 @@ QR =
if d.activeElement and QR.nodes.el.contains(d.activeElement) and d.activeElement.nodeName is 'IFRAME'
QR.scrollY = window.scrollY
$.on d, 'scroll', QR.scrollLock
$.one d, 'mousemove wheel', -> $.off d, 'scroll', QR.scrollLock
else
$.off d, 'scroll', QR.scrollLock
scrollLock: (e) ->