Fixed an issue with how CSS property methods were being handled.
[jquery.git] / src / jquery / jquery.js
index 9d80d05..ec97116 100644 (file)
@@ -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 );