Bug Tracker

Ticket #1796: jquery.patch

File jquery.patch, 630 bytes (added by dcrosta, 15 years ago)
  • jquery.js

    RCS file: /home/cvs/repository/mclass/javaserver/web/site/js/Attic/jquery.js,v
    retrieving revision 1.1.2.1
    diff -u -r1.1.2.1 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;