fix console error

This commit is contained in:
liquidex 2024-02-20 23:32:54 +01:00
parent a92ae02454
commit d64cc3fbf2

View file

@ -183,7 +183,9 @@ class OutputMode {
} }
}); });
if (this.frame.placeholderImage != null) {
this.frame.placeholderImage.classList.add("loading"); this.frame.placeholderImage.classList.add("loading");
}
this.frame.program.onChanged.push(_ => this.evaluate()); this.frame.program.onChanged.push(_ => this.evaluate());
} }