diff options
author | Brian Grinstead <briangrinstead@gmail.com> | 2010-06-14 08:20:03 -0700 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2013-05-20 22:10:04 -0400 |
commit | 24756a978a977d7abbef5e5bce403837a01d964f (patch) | |
tree | 59b473b02fc600d054a3b47ade5b0819f701bd76 /ui/jquery.ui.core.js | |
parent | 433ef9d433e9baa464cd0b313b82efa6f1d65556 (diff) | |
download | jquery-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 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 898ce10d8..9145d5d45 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -69,7 +69,7 @@ $.fn.extend({ }).eq(0); } - return (/fixed/).test(this.css("position")) || !scrollParent.length ? $(document) : scrollParent; + return ( /fixed/ ).test( this.css( "position") ) || !scrollParent.length ? $( this[ 0 ].ownerDocument || document ) : scrollParent; }, uniqueId: function() { |