Skip to content

Commit 779bcef

Browse files
committed
Drag: fire mouse move at the ownerDocument instead of document
1 parent 386afd3 commit 779bcef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.simulate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ $.extend( $.simulate.prototype, {
315315
clientY: Math.round( y )
316316
};
317317

318-
this.simulateEvent( document, "mousemove", coord );
318+
this.simulateEvent( target.ownerDocument, "mousemove", coord );
319319
}
320320

321321
this.simulateEvent( target, "mouseup", coord );

0 commit comments

Comments
 (0)