From fcebb43f352fdb73c162531b1d80f699fc3d5957 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Thu, 8 Mar 2018 16:44:51 +0200 Subject: [PATCH] Remove useless obeservers then --- client/src/ui/automanip.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/client/src/ui/automanip.js b/client/src/ui/automanip.js index b0807824..c75dcbb7 100644 --- a/client/src/ui/automanip.js +++ b/client/src/ui/automanip.js @@ -130,17 +130,6 @@ export default class { } 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() {