Fix bug in message notify count

This commit is contained in:
the1812 2019-08-10 22:56:25 +08:00
parent 556d1e562b
commit 17cee1f82c
4 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -376,7 +376,7 @@ class Messages extends NavbarComponent {
const count = item.getAttribute("data-count");
item.removeAttribute("data-count");
totalCount -= count;
notifyElement.innerHTML = totalCount || "";
this.setNotifyCount(totalCount)
});
})
}