forked from 0x2620/oxjs
use .on, not .eventname
This commit is contained in:
parent
81d9af2013
commit
7c640519d1
8 changed files with 45 additions and 35 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue