From 065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb Mon Sep 17 00:00:00 2001 From: John Resig Date: Fri, 18 Aug 2006 04:13:13 +0000 Subject: [PATCH] Fixed an issue with how CSS property methods were being handled. --- src/jquery/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 9d80d050..ec971163 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 );