Commit 065cd7ec authored by John Resig's avatar John Resig

Fixed an issue with how CSS property methods were being handled.

parent 2a4c269a
...@@ -853,7 +853,7 @@ jQuery.extend({ ...@@ -853,7 +853,7 @@ jQuery.extend({
}); });
jQuery.each( jQuery.macros.css, function(i,n){ jQuery.each( jQuery.macros.css, function(i,n){
jQuery.fn[ i ] = function(h) { jQuery.fn[ n ] = function(h) {
return h == undefined ? return h == undefined ?
( this.length ? jQuery.css( this[0], n ) : null ) : ( this.length ? jQuery.css( this[0], n ) : null ) :
this.css( n, h ); this.css( n, h );
......
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