Commit 91a6d9da authored by Mike Sherov's avatar Mike Sherov Committed by Dave Methvin

Speed up .css() by eliminating the middleman.

parent 590bcab2
...@@ -65,7 +65,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { ...@@ -65,7 +65,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
} }
// Set the width or height on the element // Set the width or height on the element
jQuery( elem ).css( type, value ); jQuery.style( elem, type, value );
}, type, value, arguments.length, null ); }, type, value, arguments.length, null );
}; };
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment