Changeset 154 for trunk/common/SelectionRange.js
- Timestamp:
- 04/24/07 00:54:31 (3 years ago)
- Files:
-
- 1 modified
-
trunk/common/SelectionRange.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/SelectionRange.js
r152 r154 170 170 return nodes; 171 171 nodes.push( this.startContainer ); 172 if( this.startContainer === this.endContainer && !this.startContainer.firstChild ) 172 if( this.startContainer === this.endContainer && 173 (this.startOffset == this.endOffset || !this.startContainer.firstChild) ) 173 174 return nodes; 174 175 var proxy = new DOM.Proxy( this.startContainer );
