Commit f4c67b7c authored by John Resig's avatar John Resig

Added some .css() fixes.

parent 57403c1b
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment