core: revertd last change, breaks width/height logic in css()
authorPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 24 Jun 2008 16:16:15 +0000 (16:16 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Tue, 24 Jun 2008 16:16:15 +0000 (16:16 +0000)
src/core.js

index 6255dc5..924bf96 100644 (file)
@@ -1358,7 +1358,7 @@ jQuery.each([ "Height", "Width" ], function(i, name){
                                // Get or set width or height on the element
                                size == undefined ?
                                        // Get width or height on the element
-                                       (this.length ? num( this, type) : null) :
+                                       (this.length ? jQuery.css( this[0], type ) : null) :
 
                                        // Set the width or height on the element (default to pixels if value is unitless)
                                        this.css( type, size.constructor == String ? size : size + "px" );