Skip to content
Snippets Groups Projects
Commit a10933be authored by Kevin Jahns's avatar Kevin Jahns
Browse files

fixed awaitedInserts (critical for y-richtext)

parent c2ffe0b6
No related branches found
No related tags found
No related merge requests found
Subproject commit b958b72f1df825af1641a2a5896f2425935465f9
Subproject commit f21e1c549a12275c36980fe6d117fa1589f1ff69
......@@ -123,9 +123,9 @@ module.exports = function (Y /* : any*/) {
w.right = op.id
// exclude the effect of w in op
op.left = w.left
} else if (Y.utils.matchesId(w, op.right)) {
} else if (Y.utils.compareIds(w.id, op.right)) {
// similar..
w.left = op.id
w.left = Y.utils.getLastId(op)
op.right = w.right
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment