fix 6
This commit is contained in:
parent
d1b5aae9df
commit
499079fcf2
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ async function handle_html(req, resp, body){
|
|||
transaction.objectStore("light-dark-store", "readwrite");
|
||||
toggleLightDark(transaction);
|
||||
const grab = obj_store.get(1);
|
||||
grab.onsuccess event => res(!!event.result);
|
||||
grab.onsuccess = (event) => {res(!!event.result)};
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue