diff options
author | Andrew Dolgov <[email protected]> | 2019-11-19 15:05:07 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-11-19 15:05:07 +0300 |
commit | e71b809160d6e7a85c1e7d0a0c7ff5db57dbca4f (patch) | |
tree | 67d88f0791f5a377b541664eb83a2412c2e949da /worker.js | |
parent | 6c037531be3d0e5e4aeb0b1836a960941d1062a2 (diff) |
disable skipWaiting on install (sometimes breaks initial reload)
Diffstat (limited to 'worker.js')
-rw-r--r-- | worker.js | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) { |