diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 212bfd4025..bda679554f 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -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" ); }); }; });