Update index.html
This commit is contained in:
@@ -425,6 +425,7 @@
|
|||||||
// The click event on the pop up notification
|
// The click event on the pop up notification
|
||||||
document.getElementById('reload').addEventListener('click', function(){
|
document.getElementById('reload').addEventListener('click', function(){
|
||||||
newWorker.postMessage({ action: 'skipWaiting' });
|
newWorker.postMessage({ action: 'skipWaiting' });
|
||||||
|
removeCache()
|
||||||
});
|
});
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
if ('serviceWorker' in navigator) {
|
||||||
|
|||||||
Reference in New Issue
Block a user