Ticket #6408: 6408_2.patch

File 6408_2.patch, 665 bytes (added by Dinu, 9 years ago)
  • plugin.js

     
    1717                // It is not good for IE Quirks, yet using offsetHeight would also not work as expected (#6408).
    1818                // We do the same for FF because of the html height workaround (#6341).
    1919                if ( CKEDITOR.env.ie || CKEDITOR.env.gecko )
    20                         newHeight = doc.getBody().$.scrollHeight + ( CKEDITOR.env.ie && CKEDITOR.env.quirks ? 0 : 24 );
     20                        newHeight = doc.getBody().$.scrollHeight + ( CKEDITOR.env.ie && CKEDITOR.env.quirks ? 24 : 0 );
    2121                else
    2222                        newHeight = doc.getDocumentElement().$.offsetHeight;
    2323
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy