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 /templates | |
parent | af12ad7098fc53d1385508ee340ac82f62d92488 (diff) | |
download | hesla-6ebfe7801ac807ba42189afde745f707333b82dd.tar.gz |
Make even inlined JS defered
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 2 |
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); |