Skip to content

Commit b4ea279

Browse files
committed
Update index.html
1 parent 14d8c01 commit b4ea279

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -310,12 +310,8 @@ <h2 class="color-1 weight-title-h font-title section__title center">A codeful of
310310
}
311311

312312

313-
try {
314-
315-
// register service worker
316-
navigator.serviceWorker.register('/service-worker.js');
317-
318-
} catch(e) { }
313+
// register service worker
314+
navigator.serviceWorker.register('/service-worker.js');
319315

320316

321317
// add scroll event listeners

0 commit comments

Comments
 (0)