Updates tests
This commit is contained in:
parent
191079a922
commit
59b5369654
3 changed files with 42 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue