1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +00:00

semicolon

Co-Authored-By: Otto Winter <otto@otto-winter.com>
This commit is contained in:
gitolicious 2019-06-03 21:26:11 +02:00 committed by GitHub
parent c5a01f6109
commit c4849c10ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);