From cc0e31aa209d4a3ada2d43159c30e2bc878a4a82 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Sun, 6 Jan 2019 19:14:11 +0000 Subject: [PATCH] Fix initial text --- patcher/web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patcher/web.js b/patcher/web.js index 7601069..38ad9db 100644 --- a/patcher/web.js +++ b/patcher/web.js @@ -7,7 +7,7 @@ function savePatch(ev) { function restorePatch() { let text = document.getElementById("patch") - text.value = localStorage["UF2_PATCH"] + text.value = localStorage["UF2_PATCH"] || "" document.getElementById("apply").onclick = applyPatch }