From 9959f988ffa4c4f7736b7c59202bb0b08ddf4a61 Mon Sep 17 00:00:00 2001 From: rohanharikr Date: Wed, 29 May 2024 18:33:37 +0100 Subject: [PATCH] fix --- public/assets/localStorage.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/assets/localStorage.js b/public/assets/localStorage.js index 14a4e18..f691092 100644 --- a/public/assets/localStorage.js +++ b/public/assets/localStorage.js @@ -14,6 +14,8 @@ const hydrate = () => { processParams() addList() plausibleIgnoreState() + document.querySelector('#ignore').addEventListener('click', ignoreAll); + document.querySelector('#clear').addEventListener('click', clearAll); } const processParams = () => { @@ -104,6 +106,4 @@ const addList = () => { } } -window.onload = hydrate; -document.querySelector('#ignore').addEventListener('click', ignoreAll); -document.querySelector('#clear').addEventListener('click', clearAll); \ No newline at end of file +window.onload = hydrate; \ No newline at end of file