Permalink
Browse files

Fixed an issue with how CSS property methods were being handled.

  • Loading branch information...
jeresig committed Aug 18, 2006
1 parent 2a4c269 commit 065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery/jquery.js
View
@@ -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 );

0 comments on commit 065cd7e

Please sign in to comment.