Update ReadAllNotificationsButton.plugin.js

This commit is contained in:
Mirco Wittrien 2019-01-20 22:19:35 +01:00
parent 3c649c1a80
commit dc292a7b47
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class ReadAllNotificationsButton {
if (instance.props && instance.props.popoutName == "RECENT_MENTIONS_POPOUT") {
let recentmentionstitle = wrapper.querySelector(BDFDB.dotCN.recentmentionstitle);
if (recentmentionstitle) {
let ranbutton = BDFDB.htmlToElement(this.RANbuttonMarkup);
let ranbutton = BDFDB.htmlToElement(this.RAMbuttonMarkup);
recentmentionstitle.appendChild(ranbutton);
ranbutton.addEventListener("click", () => {this.clearMentions(instance, wrapper);});
BDFDB.addClass(wrapper, "RAM-added");