From 9672300b9c46666831bc640e25029e923c1633bf Mon Sep 17 00:00:00 2001 From: guy-mograbi-at-gigaspaces Date: Wed, 28 Oct 2015 13:51:02 +0200 Subject: [PATCH] fix(drag): invoke mousemove on target instead of doc fixes #38 --- jquery.simulate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.simulate.js b/jquery.simulate.js index 1c1bc1c..c134209 100644 --- a/jquery.simulate.js +++ b/jquery.simulate.js @@ -316,7 +316,7 @@ $.extend( $.simulate.prototype, { clientY: Math.round( y ) }; - this.simulateEvent( eventDoc, "mousemove", coord ); + this.simulateEvent( target, "mousemove", coord ); } if ( $.contains( eventDoc, target ) ) {