Ticket #3505: 3505.patch

File 3505.patch, 506 bytes (added by Garry Yao, 15 years ago)
  • _source/core/dom/element.js

     
    11281128                                }
    11291129
    11301130                                previous = current;
    1131                                 current = new CKEDITOR.dom.element( current.$.offsetParent );
     1131                               
     1132                                current = new CKEDITOR.dom.element( current.$.offsetParent
     1133                                                        || current.$.parentNode );      // Probably a bookmark node here.
    11321134                        }
    11331135
    11341136                        if ( refDocument )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy