Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Position: Create curCSS alias if it doesn't exist. Fixes #8501 - 1.8 …

…Compat; Position still uses $.curCSS.
  • Loading branch information...
commit 04df2b95421bc6c440b4205d88c6a56e84fdee30 1 parent e4a1c98
@scottgonzalez scottgonzalez authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/jquery.ui.position.js
View
5 ui/jquery.ui.position.js
@@ -257,6 +257,11 @@ if ( !$.offset.setOffset ) {
};
}
+// jQuery <1.4.3 uses curCSS, in 1.4.3 - 1.7.2 curCSS = css, 1.8+ only has css
+if ( !$.curCSS ) {
+ $.curCSS = $.css;
+}
+
// fraction support test (older versions of jQuery don't support fractions)
(function () {
var body = document.getElementsByTagName( "body" )[ 0 ],

0 comments on commit 04df2b9

Please sign in to comment.
Something went wrong with that request. Please try again.