diff options
[checklist] Fixed opening lists appending to current list
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | checklist.html | 2 |
diff --git a/checklist.html b/checklist.html index 19e7b1d..a9e4a39 100644 --- a/checklist.html +++ b/checklist.html @@ -334,6 +334,7 @@ span { var val = store.get(listName); val.onsuccess = function() { name.value = listName; + lists.innerHTML = ''; parse(val.result.value, lists); } } @@ -370,7 +371,6 @@ span { var store = db.transaction('CheckLists', 'readwrite').objectStore('CheckLists'); store.put({ name: eiName.value, value: eiValue.value }); } - } </script> </body> |