Permalink
Browse files

Core: Define $.curCSS if it doesn't exist for jQuery 1.8+ support.

  • Loading branch information...
1 parent 831333a commit 98772fd0a1094f7fb2fbe1d8a95557bf2b545f6e @scottgonzalez scottgonzalez committed Jun 25, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/jquery.ui.core.js
View
@@ -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;
+}
+

0 comments on commit 98772fd

Please sign in to comment.