diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-18 08:29:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-18 08:29:39 +0200 |
commit | 283f5aad0478059414f9fdfbfe2a14f35e07251a (patch) | |
tree | 48e3e4338b4522a79ee600c8bcc1d69ec26c7c7e /templates/layouts | |
parent | 547a96d28f2f38d548222831eaad32f75fabaad6 (diff) |
remove debug output
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/default.html.ep | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 4b11a06..00d446a 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -120,10 +120,7 @@ <script> if ('serviceWorker' in navigator) { window.addEventListener('load', () => { - navigator.serviceWorker.register('/service-worker.js') - .then((reg) => { - console.log('Service worker registered.', reg); - }); + navigator.serviceWorker.register('/service-worker.js'); }); } </script> |