This commit is contained in:
Mirco Wittrien 2019-05-01 22:29:56 +02:00
parent d380734e5d
commit 97d186fd8f
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -73,7 +73,7 @@ class MoveablePopups {
}
);
});
BDFDB.addObserver(this, `${BDFDB.dotCN.popouts} ~ .${BDFDB.getDiscordTheme()}`, {name:"modalObserver",instance:observer}, {childList: true});
BDFDB.addObserver(this, BDFDB.React.findDOMNodeSafe(BDFDB.getOwnerInstance({node:document.querySelector(BDFDB.dotCN.app), name:"Modals"})), {name:"modalObserver",instance:observer}, {childList: true});
}
else {
console.error(`%c[${this.getName()}]%c`, 'color: #3a71c1; font-weight: 700;', '', 'Fatal Error: Could not load BD functions!');