2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: temporarily disable event listener for dismissing the first notification

This commit is contained in:
Jeff Wong 2020-04-29 14:34:49 -07:00
parent 590830b931
commit 8e4fea897e

View file

@ -225,9 +225,10 @@ const SiteHeaderComponent = MountWidget.extend(Docking, PanEvents, {
);
}
};
document.addEventListener("click", this._dismissFirstNotification, {
once: true
});
// TODO: re-enable event listener
// document.addEventListener("click", this._dismissFirstNotification, {
// once: true
// });
}
},