Ticket #6353: 6353.patch

File 6353.patch, 604 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/core/dom/element.js

     
    15461546                                                {
    15471547                                                        var     adjustment = 0;
    15481548                                                        for ( var i = 0, len = sides [ type ].length; i < len; i++ )
    1549                                                                 adjustment += parseInt( this.getComputedStyle( sides [ type ][ i ] ) || 0, 10 );
     1549                                                                adjustment += parseInt( this.getComputedStyle( sides [ type ][ i ] ) || 0, 10 ) || 0;
    15501550                                                        size -= adjustment;
    15511551                                                }
    15521552                                                this.setStyle( type, size + 'px' );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy