Changeset 497
- Timestamp:
- 04/30/06 09:20:29 (7 years ago)
- Files:
-
- 1 modified
-
trunk/htmlarea.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r496 r497 3554 3554 // correct, we possibly should do a simlar check to IE? 3555 3555 if ( !sel.isCollapsed ) 3556 { 3556 { 3557 3557 if ( sel.anchorNode.childNodes.length > sel.anchorOffset && sel.anchorNode.childNodes[sel.anchorOffset].nodeType == 1 ) 3558 3558 { … … 3565 3565 else 3566 3566 { 3567 return sel.anchorNode.parentNode;3567 return null; // return sel.anchorNode.parentNode; 3568 3568 } 3569 3569 } … … 3594 3594 3595 3595 if ( typeof sel.isCollapsed != 'undefined' ) 3596 { 3596 { 3597 3597 return sel.isCollapsed; 3598 3598 }
