diff options
| author | Ev Bogue <ev@evbogue.com> | 2019-04-10 19:20:13 -0500 | 
|---|---|---|
| committer | Ev Bogue <ev@evbogue.com> | 2019-04-10 19:20:13 -0500 | 
| commit | 951d2b36fe8bf2cd7c88eb7c22215708bde36c14 (patch) | |
| tree | b810a67c621c515909c017bddc5388f187cb205c | |
| parent | c1859478b2764df3abe37b36cc65e2587c76f17b (diff) | |
parse json on key import
| -rw-r--r-- | app.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -109,7 +109,7 @@ function route () {        keyMessage.appendChild(h('button', {          onclick: function () {            if (textarea.value) { -            localforage.setItem('id', textarea.value)  +            localforage.setItem('id', JSON.parse(textarea.value))               location.reload()            }          } | 
