This commit is contained in:
Pagwin 2025-09-02 16:40:22 -04:00
parent d1b5aae9df
commit 499079fcf2

View file

@ -88,7 +88,7 @@ async function handle_html(req, resp, body){
transaction.objectStore("light-dark-store", "readwrite"); transaction.objectStore("light-dark-store", "readwrite");
toggleLightDark(transaction); toggleLightDark(transaction);
const grab = obj_store.get(1); const grab = obj_store.get(1);
grab.onsuccess event => res(!!event.result); grab.onsuccess = (event) => {res(!!event.result)};
}; };
}); });