Изменить 'ace/index.html'

This commit is contained in:
2019-09-03 19:07:36 +02:00
parent 7fd7924924
commit 9dc5c2b483

View File

@@ -40,7 +40,7 @@
autoScrollEditorIntoView: true
})
if (localStorage.getItem("acetest") === null) {
if (localStorage.getItem("acetest") !== null) {
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
}