fix: lint errors + wrong color

This commit is contained in:
Felix Roos 2023-12-15 10:14:20 +01:00
parent f0c3d38ea7
commit f6b1e13113
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ class StrudelRepl extends HTMLElement {
attributeChangedCallback(name, oldValue, newValue) {
if (name === 'code') {
this.code = newValue;
this.editor?.setCode(initialCode);
this.editor?.setCode(newValue);
} else if (settingAttributes.includes(name)) {
const camel = kebabToCamel(name);
this.settings[camel] = parseAttribute(name, newValue);