Skip to content
Permalink
Browse files

Speed up .css() by eliminating the middleman.

  • Loading branch information...
mikesherov authored and dmethvin committed Mar 10, 2012
1 parent 590bcab commit 91a6d9dafc402e78b76d1ea41d70480b42dfde60
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dimensions.js
@@ -65,7 +65,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
}

// Set the width or height on the element
jQuery( elem ).css( type, value );
jQuery.style( elem, type, value );
}, type, value, arguments.length, null );
};
});

0 comments on commit 91a6d9d

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