mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-01 10:58:42 +00:00
Fix observer config for AM
This commit is contained in:
parent
a0876a941b
commit
4f3e939800
|
|
@ -88,7 +88,7 @@
|
|||
// todo: careful this could cause bugs if there is another component relying on a listener for this dom element. Maybe create actionManager domlistener?
|
||||
// Maybe just use this listener for ALL action listeners and check if delete, then remove otherwise do current stuff.
|
||||
// Problem is, the listener doesn't work for the node itself only for children and listening to ALL document nodes might be a bad idea?!?!?!
|
||||
const observeConfig = { childList: false, attributes: true, subtree: false };
|
||||
const observeConfig = { childList: true, attributes: true, subtree: false };
|
||||
|
||||
if (hasSelector) {
|
||||
this.app.eventManager.attach(e.id + 'childList', function(data) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user