From fde7863e53632094c8131394ffc2e57326a58ce6 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 22 Jun 2023 16:51:13 +0300 Subject: [checklist] Fixed opening lists appending to current list --- checklist.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checklist.html') 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 }); } - } -- cgit v1.3.1-26-gb76a