mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Define $.curCSS if it doesn't exist for jQuery 1.8+ support.
This commit is contained in:
parent
831333a10a
commit
98772fd0a1
5
ui/jquery.ui.core.js
vendored
5
ui/jquery.ui.core.js
vendored
@ -245,6 +245,11 @@ $(function() {
|
||||
body.removeChild( div ).style.display = "none";
|
||||
});
|
||||
|
||||
// jQuery <1.4.3 uses curCSS, in 1.4.3 - 1.7.2 curCSS = css, 1.8+ only has css
|
||||
if ( !$.curCSS ) {
|
||||
$.curCSS = $.css;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user