Skip to content

Commit 98772fd

Browse files
committed
Core: Define $.curCSS if it doesn't exist for jQuery 1.8+ support.
1 parent 831333a commit 98772fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/jquery.ui.core.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ $(function() {
245245
body.removeChild( div ).style.display = "none";
246246
});
247247

248+
// jQuery <1.4.3 uses curCSS, in 1.4.3 - 1.7.2 curCSS = css, 1.8+ only has css
249+
if ( !$.curCSS ) {
250+
$.curCSS = $.css;
251+
}
252+
248253

249254

250255

0 commit comments

Comments
 (0)