Index: trunk/extensions/VisualEditor/modules/es/es.TransactionProcessor.js |
— | — | @@ -219,7 +219,7 @@ |
220 | 220 | var oldNodes = [], newData = [], firstKeptNode = true, lastElement; |
221 | 221 | for ( var i = 0; i < ranges.length; i++ ) { |
222 | 222 | oldNodes.push( ranges[i].node ); |
223 | | - if ( ranges[i].globalRange !== undefined ) { |
| 223 | + if ( ranges[i].range !== undefined ) { |
224 | 224 | // We have to keep part of this node |
225 | 225 | if ( firstKeptNode ) { |
226 | 226 | // This is the first node we're keeping |