Replace innerText with textContent

This commit is contained in:
2018-06-28 15:30:24 +09:00
parent 00678cf6a4
commit 050355d8ae
9 changed files with 26 additions and 25 deletions

View File

@ -27,7 +27,7 @@ export default class NotificationManager {
render() {
Diff.mutations.queue(() => {
this.counter.innerText = this.unseen.toString()
this.counter.textContent = this.unseen.toString()
if(this.unseen === 0) {
this.counter.classList.add("hidden")