diff --git a/package-lock.json b/package-lock.json index 6d156b0..7a80657 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "src", - "version": "2024.5.5", + "version": "2024.5.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "src", - "version": "2024.5.5", + "version": "2024.5.6", "hasInstallScript": true, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.4.1", diff --git a/package.json b/package.json index b07c830..976fc31 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "src", "private": true, - "version": "2024.5.5", + "version": "2024.5.6", "type": "module", "scripts": { "dev": "vite", diff --git a/public/assets/localStorage.js b/public/assets/localStorage.js index bed2024..14a4e18 100644 --- a/public/assets/localStorage.js +++ b/public/assets/localStorage.js @@ -104,4 +104,6 @@ const addList = () => { } } -window.onload = hydrate; \ No newline at end of file +window.onload = hydrate; +document.querySelector('#ignore').addEventListener('click', ignoreAll); +document.querySelector('#clear').addEventListener('click', clearAll); \ No newline at end of file