Update ReadAllNotificationsButton.plugin.js
This commit is contained in:
parent
3c649c1a80
commit
dc292a7b47
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue