aboutsummaryrefslogtreecommitdiffstats
path: root/tests/jquery.simulate.js
diff options
context:
space:
mode:
authorBrian Grinstead <briangrinstead@gmail.com>2010-06-14 08:20:03 -0700
committerMike Sherov <mike.sherov@gmail.com>2013-05-20 22:10:04 -0400
commit24756a978a977d7abbef5e5bce403837a01d964f (patch)
tree59b473b02fc600d054a3b47ade5b0819f701bd76 /tests/jquery.simulate.js
parent433ef9d433e9baa464cd0b313b82efa6f1d65556 (diff)
downloadjquery-ui-24756a978a977d7abbef5e5bce403837a01d964f.tar.gz
jquery-ui-24756a978a977d7abbef5e5bce403837a01d964f.zip
Draggable: enabled draggable from within iframe. Fixed #5727 - draggable: cannot drag element inside iframe
Diffstat (limited to 'tests/jquery.simulate.js')
-rw-r--r--tests/jquery.simulate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jquery.simulate.js b/tests/jquery.simulate.js
index 0a0c42487..1dd96ac3a 100644
--- a/tests/jquery.simulate.js
+++ b/tests/jquery.simulate.js
@@ -313,7 +313,7 @@ $.extend( $.simulate.prototype, {
clientY: Math.round( y )
};
- this.simulateEvent( document, "mousemove", coord );
+ this.simulateEvent( target.ownerDocument, "mousemove", coord );
}
if ( $.contains( document, target ) ) {