summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-11-19 15:05:07 +0300
committerAndrew Dolgov <[email protected]>2019-11-19 15:05:07 +0300
commite71b809160d6e7a85c1e7d0a0c7ff5db57dbca4f (patch)
tree67d88f0791f5a377b541664eb83a2412c2e949da /worker.js
parent6c037531be3d0e5e4aeb0b1836a960941d1062a2 (diff)
disable skipWaiting on install (sometimes breaks initial reload)
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/worker.js b/worker.js
index 65e12f4..5ba79ab 100644
--- a/worker.js
+++ b/worker.js
@@ -40,10 +40,6 @@ const CACHE_URLS = [
'lib/fonts/pmn-caecilia-75.ttf'
];
-self.addEventListener('install', function(event) {
- self.skipWaiting();
-});
-
self.addEventListener('activate', function(event) {
event.waitUntil(
caches.keys().then(function(keyList) {