From 98772fd0a1094f7fb2fbe1d8a95557bf2b545f6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 25 Jun 2012 10:19:09 -0400 Subject: [PATCH] Core: Define $.curCSS if it doesn't exist for jQuery 1.8+ support. --- ui/jquery.ui.core.js | 5 +++++ 1 file changed, 5 insertions(+) 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; +} + -- 2.39.5