Skip to content
Permalink
Browse files
Added some .css() fixes.
  • Loading branch information
jeresig committed Jul 16, 2006
1 parent 57403c1 commit f4c67b7c5aba7fbdaf4b883b71ff9cc1b66e9af8
Showing 1 changed file with 6 additions and 2 deletions.
@@ -308,7 +308,7 @@ jQuery.fn = jQuery.prototype = {
* @param Object value The value to set the property to.
*/
css: function( key, value ) {
return this.attr( key, value, "css" );
return this.attr( key, value, "curCSS" );
},

/**
@@ -1177,7 +1177,11 @@ jQuery.extend({

return p == "height" ? oHeight : oWidth;
}


return jQuery.curCSS( e, p );
},

curCSS: function(e,p) {
var r;

if (e.style[p])

0 comments on commit f4c67b7

Please sign in to comment.