Update index.html

This commit is contained in:
Naiel
2025-05-27 15:31:19 +02:00
committed by GitHub
parent 5d2152655d
commit d8ff5cebc0

View File

@@ -425,6 +425,7 @@
// The click event on the pop up notification
document.getElementById('reload').addEventListener('click', function(){
newWorker.postMessage({ action: 'skipWaiting' });
removeCache()
});
if ('serviceWorker' in navigator) {