diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2016-04-18 23:12:47 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2016-04-18 23:13:16 +0200 |
commit | 6ebfe7801ac807ba42189afde745f707333b82dd (patch) | |
tree | a2e6a5becde461b406a3ad8a920451fe041d050e | |
parent | af12ad7098fc53d1385508ee340ac82f62d92488 (diff) | |
download | hesla-6ebfe7801ac807ba42189afde745f707333b82dd.tar.gz |
Make even inlined JS defered
-rw-r--r-- | sworker.js | 2 | ||||
-rw-r--r-- | templates/base.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -var version = 'v36 - 2016-04-18'; +var version = 'v37 - 2016-04-18'; var toCache = [ '/', 'index.html', 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); |