summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-18 08:29:21 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-18 08:29:39 +0200
commit283f5aad0478059414f9fdfbfe2a14f35e07251a (patch)
tree48e3e4338b4522a79ee600c8bcc1d69ec26c7c7e /templates
parent547a96d28f2f38d548222831eaad32f75fabaad6 (diff)
remove debug output
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/default.html.ep5
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>