From 4d024883bcfe4c62e8bd8bfc53703d53eb5e8c04 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Tue, 4 Oct 2016 16:12:24 +0200 Subject: [PATCH] Fixed "[0] of undefined" server issue --- src/Transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transaction.js b/src/Transaction.js index 5daffb17..bebac861 100644 --- a/src/Transaction.js +++ b/src/Transaction.js @@ -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) } }