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

This commit is contained in:
Scott González 2012-06-25 10:19:09 -04:00
parent 831333a10a
commit 98772fd0a1

View File

@ -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;
}