Skip to content

Commit

Permalink
Drag: fire mouse move at the ownerDocument instead of document
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesherov committed Aug 20, 2014
1 parent 386afd3 commit 779bcef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.simulate.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ $.extend( $.simulate.prototype, {
clientY: Math.round( y )
};

this.simulateEvent( document, "mousemove", coord );
this.simulateEvent( target.ownerDocument, "mousemove", coord );
}

this.simulateEvent( target, "mouseup", coord );
Expand Down

0 comments on commit 779bcef

Please sign in to comment.