diff --git a/esphome/dashboard/static/esphome.js b/esphome/dashboard/static/esphome.js index daa596bec1..d72f367853 100644 --- a/esphome/dashboard/static/esphome.js +++ b/esphome/dashboard/static/esphome.js @@ -710,7 +710,7 @@ document.querySelectorAll(".action-edit").forEach((btn) => { filenameField.innerHTML = activeEditorConfig; editor.setValue("Loading configuration yaml..."); - editor.setOption('readOnly', true) + editor.setOption('readOnly', true); fetch(`./edit?configuration=${activeEditorConfig}`, {credentials: "same-origin"}) .then(res => res.text()).then(response => { editor.setValue(response, -1);