mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Position: Create curCSS alias if it doesn't exist. Fixes #8501 - 1.8 Compat; Position still uses $.curCSS.
This commit is contained in:
parent
e4a1c98092
commit
04df2b9542
5
ui/jquery.ui.position.js
vendored
5
ui/jquery.ui.position.js
vendored
@ -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 ],
|
||||||
|
Loading…
Reference in New Issue
Block a user