]> source.dussan.org Git - jquery.git/commitdiff
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 9d80d050cf6ebd0821fc6cedb236608bcfb3cc3c..ec9711638fa119650ca8e6c892b036c9275c0e1d 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 );