diff options
| author | Ev Bogue <ev@evbogue.com> | 2019-05-02 19:01:29 -0500 | 
|---|---|---|
| committer | Ev Bogue <ev@evbogue.com> | 2019-05-02 19:01:29 -0500 | 
| commit | 1349b24f20b404086cd4088e382e73ebf8b1a7e6 (patch) | |
| tree | d91102305dc981ccb15c72f65e6fbd040a8eec04 | |
| parent | 3f65dafc7ccb6d37ec64263656c7c60b841cb574 (diff) | |
add button to delete entire db
| -rw-r--r-- | views.js | 6 | 
1 files changed, 6 insertions, 0 deletions
| @@ -57,6 +57,12 @@ function profilePage (src, keys) {  function publicPage (keys) {    scroller.appendChild(h('button', {      onclick: function () { +      localforage.clear().then(function () {location.reload()}) +    } +  }, ['Delete Everything'])) + +  scroller.appendChild(h('button', { +    onclick: function () {        regenerate()      }    }, ['Regenerate'])) | 
