stuff
This commit is contained in:
parent
2dc2b1939c
commit
30bdc5e4af
File diff suppressed because one or more lines are too long
|
@ -304,7 +304,7 @@ class ServerFolders {
|
|||
|
||||
getDescription () {return "Adds the feature to create folders to organize your servers. Right click a server > 'Serverfolders' > 'Create Server' to create a server. To add servers to a folder hold 'Ctrl' and drag the server onto the folder, this will add the server to the folderlist and hide it in the serverlist. To open a folder click the folder. A folder can only be opened when it has at least one server in it. To remove a server from a folder, open the folder and either right click the server > 'Serverfolders' > 'Remove Server from Folder' or hold 'Del' and click the server in the folderlist.";}
|
||||
|
||||
getVersion () {return "5.9.1";}
|
||||
getVersion () {return "5.9.2";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -1372,13 +1372,8 @@ class ServerFolders {
|
|||
if (div.tagName && div.querySelector(BDFDB.dotCN.guildserror)) return {div:null};
|
||||
if (div.classList && div.classList.length > 0 && (div.classList.contains(BDFDB.disCN.guilds) || div.classList.contains("guilddragpreview"))) return {div:null};
|
||||
if (div.classList && div.classList.length > 0 && div.classList.contains(BDFDB.disCN.guild) && div.classList.contains(type) && div.querySelector(BDFDB.dotCN.avataricon)) {
|
||||
if (type == BDFDB.disCN.guild) {
|
||||
var info = BDFDB.getKeyInformation({"node":div, "key":"guild"});
|
||||
if (info) return Object.assign({},info,{div:div,data:info});
|
||||
}
|
||||
else {
|
||||
return {div};
|
||||
}
|
||||
if (type == BDFDB.disCN.guild) return BDFDB.getDivOfServer(BDFDB.getIdOfServer(div));
|
||||
else return {div};
|
||||
}
|
||||
return this.getParentObject(div.parentElement, type);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue