Index: trunk/parsers/wikidom/lib/es/es.Surface.js |
— | — | @@ -246,7 +246,7 @@ |
247 | 247 | this.location = this.selection.start; |
248 | 248 | this.selection = new es.Selection(); |
249 | 249 | this.deleteContent( deleteSelection ); |
250 | | - } else if ( this.location.offset < this.location.block.getLength() - 1 ) { |
| 250 | + } else if ( this.location.offset < this.location.block.getLength() ) { |
251 | 251 | var deleteSelection = new es.Selection( |
252 | 252 | new es.Location( this.location.block, this.location.offset + 1 ), this.location |
253 | 253 | ); |