Fixed an issue with how CSS property methods were being handled.
authorJohn Resig <jeresig@gmail.com>
Fri, 18 Aug 2006 04:13:13 +0000 (04:13 +0000)
committerJohn Resig <jeresig@gmail.com>
Fri, 18 Aug 2006 04:13:13 +0000 (04:13 +0000)
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 );