mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix bug in message notify count
This commit is contained in:
parent
556d1e562b
commit
17cee1f82c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
min/custom-navbar.min.js
vendored
2
min/custom-navbar.min.js
vendored
File diff suppressed because one or more lines are too long
@ -376,7 +376,7 @@ class Messages extends NavbarComponent {
|
|||||||
const count = item.getAttribute("data-count");
|
const count = item.getAttribute("data-count");
|
||||||
item.removeAttribute("data-count");
|
item.removeAttribute("data-count");
|
||||||
totalCount -= count;
|
totalCount -= count;
|
||||||
notifyElement.innerHTML = totalCount || "";
|
this.setNotifyCount(totalCount)
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user