aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.core.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-05-24 19:47:42 +0200
committerFelix Nagel <info@felixnagel.com>2013-05-24 19:47:42 +0200
commitcccb8c6e826b8140dd99f225a28cc6f725e86ced (patch)
treebb5ca77b1e1230a059f59d3e86ef933d5bbe03a6 /ui/jquery.ui.core.js
parent7e0737edc03d36b07c45981e0a6b58f8aab3824e (diff)
parentc19e7b3496d14b40e71ba892213889fc8cc81d4f (diff)
downloadjquery-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.js2
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() {