From 4138ffab1839465247847e6f5be8b287edbd2bb4 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 30 Jul 2022 17:44:42 +0200 Subject: [PATCH] Update ServerFolders.plugin.js --- Plugins/ServerFolders/ServerFolders.plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/ServerFolders/ServerFolders.plugin.js b/Plugins/ServerFolders/ServerFolders.plugin.js index 5335af588a..257bf95a4d 100644 --- a/Plugins/ServerFolders/ServerFolders.plugin.js +++ b/Plugins/ServerFolders/ServerFolders.plugin.js @@ -820,9 +820,9 @@ module.exports = (_ => { processGuildFolderSettingsModal (e) { if (e.node) { - let root = e.node.parentElement.querySelector(BDFDB.dotCN.layermodal); - BDFDB.DOMUtils.addClass(root, BDFDB.disCN.layermodalmedium, BDFDB.disCN.modalwrapper, `${this.name}-modal`); - BDFDB.DOMUtils.removeClass(root, BDFDB.disCN.layermodalsmall); + let root = e.node.parentElement.querySelector(BDFDB.dotCN.modal); + BDFDB.DOMUtils.addClass(root, BDFDB.disCN.modalmedium, BDFDB.disCN.modalwrapper, `${this.name}-modal`); + BDFDB.DOMUtils.removeClass(root, BDFDB.disCN.modalsmall); } if (e.returnvalue) { let folder = BDFDB.LibraryModules.FolderStore.getGuildFolderById(e.instance.props.folderId);