Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Position: Create curCSS alias if it doesn't exist. Fixes #8501 - 1.8 …

…Compat; Position still uses $.curCSS.
  • Loading branch information...
commit 04df2b95421bc6c440b4205d88c6a56e84fdee30 1 parent e4a1c98
Scott González authored August 14, 2012

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  ui/jquery.ui.position.js
5  ui/jquery.ui.position.js
@@ -257,6 +257,11 @@ if ( !$.offset.setOffset ) {
257 257
 	};
258 258
 }
259 259
 
  260
+// jQuery <1.4.3 uses curCSS, in 1.4.3 - 1.7.2 curCSS = css, 1.8+ only has css
  261
+if ( !$.curCSS ) {
  262
+	$.curCSS = $.css;
  263
+}
  264
+
260 265
 // fraction support test (older versions of jQuery don't support fractions)
261 266
 (function () {
262 267
 	var body = document.getElementsByTagName( "body" )[ 0 ], 

0 notes on commit 04df2b9

Please sign in to comment.
Something went wrong with that request. Please try again.