Updates tests

This commit is contained in:
Mouse Reeve
2022-01-27 18:23:31 -08:00
parent 191079a922
commit 59b5369654
3 changed files with 42 additions and 15 deletions

View File

@ -122,6 +122,11 @@ let BookWyrm = new (class {
*/
updateCountElement(counter, data) {
let count = data.count;
if (count === undefined) {
return;
}
const currentCount = counter.innerText;
const hasMentions = data.has_mentions;