fixed duplicate bug in RAN
This commit is contained in:
parent
47c323356d
commit
fce42b3fbb
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
||||||
class ReadAllNotificationsButton {
|
class ReadAllNotificationsButton {
|
||||||
getName () {return "ReadAllNotificationsButton";}
|
getName () {return "ReadAllNotificationsButton";}
|
||||||
|
|
||||||
getVersion () {return "1.3.8";}
|
getVersion () {return "1.3.9";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ class ReadAllNotificationsButton {
|
||||||
// begin of own functions
|
// begin of own functions
|
||||||
|
|
||||||
processGuilds (instance, wrapper) {
|
processGuilds (instance, wrapper) {
|
||||||
|
BDFDB.removeEles(".RANbutton-frame");
|
||||||
let guildseparator = wrapper.querySelector(BDFDB.dotCN.guildseparator);
|
let guildseparator = wrapper.querySelector(BDFDB.dotCN.guildseparator);
|
||||||
if (guildseparator) {
|
if (guildseparator) {
|
||||||
let ranbutton = BDFDB.htmlToElement(this.RANbuttonMarkup);
|
let ranbutton = BDFDB.htmlToElement(this.RANbuttonMarkup);
|
||||||
|
|
Loading…
Reference in New Issue