X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=ec9711638fa119650ca8e6c892b036c9275c0e1d;hb=065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb;hp=9d80d050cf6ebd0821fc6cedb236608bcfb3cc3c;hpb=2a4c269a9b7c15477e032a24f92d08dfaeb026e4;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 9d80d05..ec97116 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -853,7 +853,7 @@ jQuery.extend({ }); jQuery.each( jQuery.macros.css, function(i,n){ - jQuery.fn[ i ] = function(h) { + jQuery.fn[ n ] = function(h) { return h == undefined ? ( this.length ? jQuery.css( this[0], n ) : null ) : this.css( n, h );