Fixed "[0] of undefined" server issue

This commit is contained in:
Kevin Jahns 2016-10-04 16:12:24 +02:00
parent ecd412c6f6
commit 4d024883bc

View File

@ -675,7 +675,7 @@ module.exports = function (Y/* :any */) {
}
if (this.store.forwardAppliedOperations) {
var ops = []
ops.push({struct: 'Delete', target: [d[0], d[1]], length: del[2]})
ops.push({struct: 'Delete', target: [del[0], del[1]], length: del[2]})
this.store.y.connector.broadcastOps(ops)
}
}