diff --git a/ace/index.html b/ace/index.html
index 2ca470a..d5b1823 100644
--- a/ace/index.html
+++ b/ace/index.html
@@ -40,7 +40,7 @@
autoScrollEditorIntoView: true
})
- if (localStorage.getItem("acetest") === null) {
+ if (localStorage.getItem("acetest") !== null) {
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
}