aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2006-08-18 04:13:13 +0000
committerJohn Resig <jeresig@gmail.com>2006-08-18 04:13:13 +0000
commit065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb (patch)
treed59a3a961c7a966ae21e577729acce70b56c9edd
parent2a4c269a9b7c15477e032a24f92d08dfaeb026e4 (diff)
downloadjquery-065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb.tar.gz
jquery-065cd7ecf62c7b2ad5b58d447aca7a9cdb6f7bcb.zip
Fixed an issue with how CSS property methods were being handled.
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 9d80d050c..ec9711638 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 );