removedItems[i] is already an item, no need to pass removedItems[i].item

Bug: 54727
Change-Id: Iff8e9c8f1dc7a701d4773bf15817897a871d9e98
This commit is contained in:
Inez Korczyński 2013-09-27 17:08:29 -07:00 committed by Catrope
parent 7849be8ec0
commit e4daeea01e

View file

@ -232,7 +232,7 @@ ve.dm.MetaList.prototype.onTransact = function ( tx, reversed ) {
for ( i = 0, ilen = removedItems.length; i < ilen; i++ ) {
this.deleteRemovedItem( removedItems[i].offset, removedItems[i].index );
events.push( [
'remove', removedItems[i].item, removedItems[i].offset, removedItems[i].index
'remove', removedItems[i], removedItems[i].offset, removedItems[i].index
] );
}