Index: trunk/extensions/VisualEditor/modules/sandbox/sandbox.js |
— | — | @@ -654,7 +654,7 @@ |
655 | 655 | for ( j = 0; j < history[i].stack.length; j++) { |
656 | 656 | ops = history[i].stack[j].getOperations().slice(0); |
657 | 657 | for ( k = 0; k < ops.length; k++ ) { |
658 | | - data = ops[k].data || ops[k].length; |
| 658 | + var data = ops[k].data || ops[k].length; |
659 | 659 | if ( ve.isArray( data ) ) { |
660 | 660 | data = data[0]; |
661 | 661 | if ( ve.isArray( data ) ) { |