We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7b6eb8 commit 00febf4Copy full SHA for 00febf4
src/_js/main.js
@@ -59,11 +59,8 @@
59
}
60
61
// Remove any existing service worker
62
- navigator.serviceWorker.getRegistrations().then((registrations) => {
63
- for(let registration of registrations) {
64
- registration.unregister();
65
- }
66
- });
+ navigator.serviceWorker.getRegistrations().then(
+ registrations => registrations.forEach(each => each.unregister()));
67
68
// Remove UTM garbage from URLs, to make it less likely such links get shared.
69
if (location.search.indexOf('utm_source') > -1) {
0 commit comments