Skip to content

Commit 4f27377

Browse files
author
Emilien Durieu (edu)
committed
[FIX] no rollback when adding unremovable node
1 parent 42724d6 commit 4f27377

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/editor.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,6 @@ export class OdooEditor extends EventTarget {
355355
}
356356
case 'childList': {
357357
record.addedNodes.forEach(added => {
358-
this._toRollback =
359-
this._toRollback ||
360-
(containsUnremovable(added) && UNREMOVABLE_ROLLBACK_CODE);
361358
const mutation = {
362359
'type': 'add',
363360
};

0 commit comments

Comments
 (0)