Update ServerFolders.plugin.js
This commit is contained in:
parent
b1cd4f8546
commit
4138ffab18
|
@ -820,9 +820,9 @@ module.exports = (_ => {
|
||||||
|
|
||||||
processGuildFolderSettingsModal (e) {
|
processGuildFolderSettingsModal (e) {
|
||||||
if (e.node) {
|
if (e.node) {
|
||||||
let root = e.node.parentElement.querySelector(BDFDB.dotCN.layermodal);
|
let root = e.node.parentElement.querySelector(BDFDB.dotCN.modal);
|
||||||
BDFDB.DOMUtils.addClass(root, BDFDB.disCN.layermodalmedium, BDFDB.disCN.modalwrapper, `${this.name}-modal`);
|
BDFDB.DOMUtils.addClass(root, BDFDB.disCN.modalmedium, BDFDB.disCN.modalwrapper, `${this.name}-modal`);
|
||||||
BDFDB.DOMUtils.removeClass(root, BDFDB.disCN.layermodalsmall);
|
BDFDB.DOMUtils.removeClass(root, BDFDB.disCN.modalsmall);
|
||||||
}
|
}
|
||||||
if (e.returnvalue) {
|
if (e.returnvalue) {
|
||||||
let folder = BDFDB.LibraryModules.FolderStore.getGuildFolderById(e.instance.props.folderId);
|
let folder = BDFDB.LibraryModules.FolderStore.getGuildFolderById(e.instance.props.folderId);
|
||||||
|
|
Loading…
Reference in New Issue