From 8e10553e3de92de5370b727cb60016807c17ae21 Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Tue, 27 May 2025 15:33:01 +0200 Subject: [PATCH] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 077cd9e..b88ee3e 100644 --- a/index.html +++ b/index.html @@ -424,8 +424,9 @@ // The click event on the pop up notification document.getElementById('reload').addEventListener('click', function(){ + setTimeout(() => {removeCache()}, 1000) newWorker.postMessage({ action: 'skipWaiting' }); - removeCache() + }); if ('serviceWorker' in navigator) {