Fix initial text

This commit is contained in:
Michal Moskal 2019-01-06 19:14:11 +00:00
parent 206825a0ef
commit cc0e31aa20

View file

@ -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
}