Update DisplayServersAsChannels.plugin.js
This commit is contained in:
parent
f17d8520d7
commit
86c69f60f0
|
@ -3,7 +3,7 @@
|
|||
class DisplayServersAsChannels {
|
||||
getName () {return "DisplayServersAsChannels";}
|
||||
|
||||
getVersion () {return "1.2.0";}
|
||||
getVersion () {return "1.2.1";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -277,7 +277,7 @@ class DisplayServersAsChannels {
|
|||
if (avatar) {
|
||||
avatar.innerHTML = `<span class="DevilBro-textscrollwrapper" speed=3><div class="DevilBro-textscroll">${BDFDB.encodeToHTML(info.name || info.folderName || "")}</div></span>`;
|
||||
BDFDB.initElements(avatar, this);
|
||||
if (info.features && info.features.has("VERIFIED") && !info.features.has("FAKE_VERIFIED")) {
|
||||
if (info.features && info.features.has("VERIFIED") && !info.features.has("FAKE_VERIFIED") && !info.div.querySelector(".DSAC-verification-badge")) {
|
||||
info.div.insertBefore(BDFDB.htmlToElement(this.verificationBadgeMarkup), info.div.firstElementChild);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue