aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-12-10 18:25:23 -0500
committerMike Sherov <mike.sherov@gmail.com>2012-12-11 13:58:14 -0500
commita918dc8aacb8461321c332f6f3b5756bdda5e8b2 (patch)
tree0824e7f8d49426f510a0982954b1d48be6cc5de8 /src/dimensions.js
parentaa0e4aadd56002928d429af771b26114493486ac (diff)
downloadjquery-a918dc8aacb8461321c332f6f3b5756bdda5e8b2.tar.gz
jquery-a918dc8aacb8461321c332f6f3b5756bdda5e8b2.zip
Pass style declarations around for performance improvements and paving the way for the css array signature
Also, simplify the jQuery.css numeric coercion signature
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index c41cce1b3..9e4d5729d 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -31,7 +31,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
return value === undefined ?
// Get width or height on the element, requesting but not forcing parseFloat
- jQuery.css( elem, type, value, extra ) :
+ jQuery.css( elem, type, extra ) :
// Set width or height on the element
jQuery.style( elem, type, value, extra );