aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 5510cac..696de91 100644
--- a/app.js
+++ b/app.js
@@ -109,7 +109,7 @@ function route () {
keyMessage.appendChild(h('button', {
onclick: function () {
if (textarea.value) {
- localStorage['id'] = textarea.value
+ localforage.setItem('id', textarea.value)
location.reload()
}
}