Position: Create curCSS alias if it doesn't exist. Fixes #8501 - 1.8 Compat; Position still uses $.curCSS.

This commit is contained in:
Scott González 2012-08-14 17:00:07 -04:00
parent e4a1c98092
commit 04df2b9542

View File

@ -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) // fraction support test (older versions of jQuery don't support fractions)
(function () { (function () {
var body = document.getElementsByTagName( "body" )[ 0 ], var body = document.getElementsByTagName( "body" )[ 0 ],