Skip to content

Commit

Permalink
Core: Don't use $.style since it doesn't exist in jQuery 1.3.2. Fixes…
Browse files Browse the repository at this point in the history
… #6196 - outerWidth() setter broken with jQuery 1.3.2.
  • Loading branch information
scottgonzalez committed Oct 20, 2010
1 parent af582b9 commit 72985fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
});
};

Expand All @@ -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" );
});
};
});
Expand Down

0 comments on commit 72985fb

Please sign in to comment.