mirror of https://github.com/fantasticit/think.git
client: fix jserror
This commit is contained in:
parent
26bd9a06e0
commit
8307e3ee7d
|
@ -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--;
|
||||||
|
|
Loading…
Reference in New Issue