1
0
Fork 0
forked from 0x2620/oxjs

use .on, not .eventname

This commit is contained in:
rolux 2013-12-06 21:43:00 +01:00
commit 7c640519d1
8 changed files with 45 additions and 35 deletions

View file

@ -156,7 +156,7 @@ Ox.Element = function(options, self) {
clientY = e.clientY;
Ox.UI.$window
.off('mouseup', mouseup)
.mousemove(mousemove)
.on({mousemove: mousemove})
.one('mouseup', function(e) {
// stop checking for mouserepeat
clearInterval(mouseInterval);