diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-25 10:19:09 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-25 10:19:09 -0400 |
commit | 98772fd0a1094f7fb2fbe1d8a95557bf2b545f6e (patch) | |
tree | 533cfde29f702606a849879bb60b4a381a4bc031 /ui | |
parent | 831333a10aebad00b30d51cb274f463240c56814 (diff) | |
download | jquery-ui-98772fd0a1094f7fb2fbe1d8a95557bf2b545f6e.tar.gz jquery-ui-98772fd0a1094f7fb2fbe1d8a95557bf2b545f6e.zip |
Core: Define $.curCSS if it doesn't exist for jQuery 1.8+ support.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.core.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index a1b2a083e..53aa51b5f 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -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; +} + |