diff options
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r-- | ui/jquery.ui.core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 212bfd402..bda679554 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" ); }); }; }); |