aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2016-04-18 23:12:47 +0200
committerMatěj Cepl <mcepl@cepl.eu>2016-04-18 23:13:16 +0200
commit6ebfe7801ac807ba42189afde745f707333b82dd (patch)
treea2e6a5becde461b406a3ad8a920451fe041d050e /templates/base.html
parentaf12ad7098fc53d1385508ee340ac82f62d92488 (diff)
downloadhesla-6ebfe7801ac807ba42189afde745f707333b82dd.tar.gz
Make even inlined JS defered
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 3f66d08..00af4c1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -24,7 +24,7 @@
display: none;
}
</style>
- <script type="text/javascript">
+ <script type="text/javascript" defer>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sworker.js').then(function(reg) {
console.log('Yey!', reg);