Remove useless obeservers then

This commit is contained in:
Jiiks 2018-03-08 16:44:51 +02:00
parent e22e7f7af8
commit fcebb43f35
1 changed files with 0 additions and 11 deletions

View File

@ -130,17 +130,6 @@ export default class {
} }
Events.emit('ui:mutable:.markup', markup.clone); Events.emit('ui:mutable:.markup', markup.clone);
if (reinject) return;
/*
new MutationObserver(() => {
this.injectMarkup(sibling, this.cloneMarkup(sibling), true);
}).observe(sibling, { characterData: false, attributes: false, childList: true, subtree: false });
new MutationObserver(() => {
this.injectMarkup(sibling, this.cloneMarkup(sibling), true);
}).observe(sibling, { characterData: true, attributes: false, childList: false, subtree: true });
*/
} }
setIds() { setIds() {