diff options
Diffstat (limited to 'js/index.js')
-rw-r--r-- | js/index.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/index.js b/js/index.js index bf892be..983db0b 100644 --- a/js/index.js +++ b/js/index.js @@ -30,7 +30,12 @@ function cache_refresh(force) { $(".dl-progress") .show() .addClass("alert-info") - .html("Please reload the page once to activate service worker and populate offline cache."); + .html("Page will reload to activate service worker..."); + + window.setTimeout(function() { + window.location.reload(); + }, 3*1000); + }); } |