diff options
author | Felix Nagel <info@felixnagel.com> | 2013-05-24 19:47:42 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-05-24 19:47:42 +0200 |
commit | cccb8c6e826b8140dd99f225a28cc6f725e86ced (patch) | |
tree | bb5ca77b1e1230a059f59d3e86ef933d5bbe03a6 /ui/jquery.ui.core.js | |
parent | 7e0737edc03d36b07c45981e0a6b58f8aab3824e (diff) | |
parent | c19e7b3496d14b40e71ba892213889fc8cc81d4f (diff) | |
download | jquery-ui-cccb8c6e826b8140dd99f225a28cc6f725e86ced.tar.gz jquery-ui-cccb8c6e826b8140dd99f225a28cc6f725e86ced.zip |
Merge branch 'master' into selectmenu
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() { |