diff --git a/static/demos/light-dark-demo-4/sw.js b/static/demos/light-dark-demo-4/sw.js index 1f9c8f7..f971648 100644 --- a/static/demos/light-dark-demo-4/sw.js +++ b/static/demos/light-dark-demo-4/sw.js @@ -66,6 +66,7 @@ function toggleLightDark(transaction){ grab.onerror = ()=>{console.error("grab error");res();}; grab.onsuccess = (event)=>{ const val = event.result; + console.log(val); if(val){ const yeet = obj_store.delete(1); yeet.onsuccess = res;