client: fix jserror

This commit is contained in:
fantasticit 2022-08-15 19:44:39 +08:00
parent 26bd9a06e0
commit 8307e3ee7d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Particle {
applyProperties(this.element, this.initialStyles); applyProperties(this.element, this.initialStyles);
this.update(); this.update();
document.querySelector('.drawing-cursor').appendChild(this.element); document.querySelector('.drawing-cursor')?.appendChild(this.element);
} }
update() { update() {
this.lifeSpan--; this.lifeSpan--;