Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes #6196 - outerWidth() setter broken with jQuery 1.3.2.

This commit is contained in:
Scott González 2010-10-19 22:44:46 -04:00
parent af582b97a7
commit 72985fbbec

View File

@ -158,7 +158,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
}
return this.each(function() {
$.style( this, type, reduce( this, size ) + "px" );
$( this ).css( type, reduce( this, size ) + "px" );
});
};
@ -168,7 +168,7 @@ $.each( [ "Width", "Height" ], function( i, name ) {
}
return this.each(function() {
$.style( this, type, reduce( this, size, true, margin ) + "px" );
$( this).css( type, reduce( this, size, true, margin ) + "px" );
});
};
});