Skip to content
Permalink
Browse files

core: revertd last change, breaks width/height logic in css()

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jun 24, 2008
1 parent 201f1b6 commit d1210a5a88ee435b0f46918d03852cf2f8469ca9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -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" );

0 comments on commit d1210a5

Please sign in to comment.
You can’t perform that action at this time.