fixed duplicate bug in RAN

This commit is contained in:
Mirco Wittrien 2019-01-20 19:11:47 +01:00
parent 47c323356d
commit fce42b3fbb
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
class ReadAllNotificationsButton {
getName () {return "ReadAllNotificationsButton";}
getVersion () {return "1.3.8";}
getVersion () {return "1.3.9";}
getAuthor () {return "DevilBro";}
@ -96,6 +96,7 @@ class ReadAllNotificationsButton {
// begin of own functions
processGuilds (instance, wrapper) {
BDFDB.removeEles(".RANbutton-frame");
let guildseparator = wrapper.querySelector(BDFDB.dotCN.guildseparator);
if (guildseparator) {
let ranbutton = BDFDB.htmlToElement(this.RANbuttonMarkup);