Update ServerFolders.plugin.js
This commit is contained in:
parent
e5baa32adb
commit
41e12808a7
|
@ -2,7 +2,7 @@
|
||||||
* @name ServerFolders
|
* @name ServerFolders
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 7.2.6
|
* @version 7.2.7
|
||||||
* @description Changes Discord's Folders, Servers open in a new Container, also adds extra Features to more easily organize, customize and manage your Folders
|
* @description Changes Discord's Folders, Servers open in a new Container, also adds extra Features to more easily organize, customize and manage your Folders
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -858,6 +858,7 @@ module.exports = (_ => {
|
||||||
}
|
}
|
||||||
|
|
||||||
processGuildItem (e) {
|
processGuildItem (e) {
|
||||||
|
if (!e.instance.props.guild || typeof e.instance.props?.children?.props?.className != "string" || e.instance.props?.children?.props?.className.indexOf(BDFDB.disCN.guildcontainer) == -1) return;
|
||||||
BDFDB.TimeUtils.clear(forceCloseTimeout);
|
BDFDB.TimeUtils.clear(forceCloseTimeout);
|
||||||
forceCloseTimeout = BDFDB.TimeUtils.timeout(_ => {
|
forceCloseTimeout = BDFDB.TimeUtils.timeout(_ => {
|
||||||
let newCurrentGuild = BDFDB.LibraryStores.SelectedGuildStore.getGuildId();
|
let newCurrentGuild = BDFDB.LibraryStores.SelectedGuildStore.getGuildId();
|
||||||
|
|
Loading…
Reference in New Issue