Index: trunk/parsers/wikidom/lib/es/es.TextFlow.js |
— | — | @@ -271,11 +271,11 @@ |
272 | 272 | if ( rs.wordOffset >= rs.wordCount - 1 ) { |
273 | 273 | // Cleanup |
274 | 274 | rs.$ruler.remove(); |
| 275 | + this.lines = rs.lines; |
275 | 276 | this.$.find( '.editSurface-line[line-index=' + ( this.lines.length - 1 ) + ']' ) |
276 | 277 | .nextAll() |
277 | 278 | .remove(); |
278 | 279 | rs.timeout = undefined; |
279 | | - this.lines = rs.lines; |
280 | 280 | console.log( this.lines.length ); |
281 | 281 | this.emit( 'render' ); |
282 | 282 | } else { |