aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-06-25 10:19:09 -0400
committerScott González <scott.gonzalez@gmail.com>2012-06-25 10:19:09 -0400
commit98772fd0a1094f7fb2fbe1d8a95557bf2b545f6e (patch)
tree533cfde29f702606a849879bb60b4a381a4bc031 /ui
parent831333a10aebad00b30d51cb274f463240c56814 (diff)
downloadjquery-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.js5
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;
+}
+