Changeset 1143


Ignore:
Timestamp:
11/30/07 17:35:24 (6 years ago)
Author:
fredck
Message:

Small fix to [1124]. The scroll was a bit crazy on Safari when hitting Enter inside blockquotes or lists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fckdomtools.js

    r1124 r1143  
    969969                // Appends the offsets for the entire element hierarchy. 
    970970                offset += element.offsetTop ; 
    971                 while ( ( element = element.parentNode ) ) 
     971                while ( ( element = element.offsetParent ) ) 
    972972                        offset += element.offsetTop || 0 ; 
    973973                 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy