Ticket #1796: 1796.diff
File 1796.diff, 507 bytes (added by , 14 years ago) |
---|
-
src/core.js
764 764 765 765 // Revert the padding and border widths to get the 766 766 // correct height/width values 767 jQuery.each( [ "Top", "Bottom", "Right", "Left" ], function(){767 jQuery.each(name == "width" ? [ "Right", "Left" ] : [ "Top", "Bottom" ], function(){ 768 768 old[ "padding" + this ] = 0; 769 769 old[ "border" + this + "Width" ] = 0; 770 770 });