Bug Tracker

Ticket #1796: jquery.patch

File jquery.patch, 0.6 kB (added by dcrosta, 1 year ago)
  • jquery.js

     
    637637 
    638638    css: function(e,p) { 
    639639        if ( p == "height" || p == "width" ) { 
    640             var old = {}, oHeight, oWidth, d = ["Top","Bottom","Right","Left"]; 
     640            var old = {}, oHeight, oWidth, d = ( p == "height" ? ["Top","Bottom"] : ["Right","Left"] ); 
    641641 
    642642            jQuery.each( d, function(){ 
    643643                old["padding" + this] = 0;