diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-08 10:14:40 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-08 10:14:40 +0100 |
commit | 4bb21a52ea5789765e2d4a79071d2d78f738b555 (patch) | |
tree | 2577112b76cd5996408fbd7e1424b68f0a3e3e70 /src | |
parent | 93da53a69a835e23ac745b9215d1cad2d0495cb1 (diff) |
Wiki: Mark JavaScript modules as deferrable.
Change-Id: Ie5943a1d409e838e5c24c14d61a29378fcb0b6cc
Diffstat (limited to 'src')
-rw-r--r-- | src/main/resources/templates/benki/wiki/wikiPage.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html index 3cd522c..e4a7d58 100644 --- a/src/main/resources/templates/benki/wiki/wikiPage.html +++ b/src/main/resources/templates/benki/wiki/wikiPage.html @@ -6,7 +6,7 @@ {#head} <link rel="stylesheet" type="text/css" href="/web_modules/ContentTools/build/content-tools.min.css" /> -<script type="module" src="/web_modules/elix/define/ExpandablePanel.js"></script> +<script type="module" src="/web_modules/elix/define/ExpandablePanel.js" defer></script> <style type="text/css"> #warning-panel { @@ -15,7 +15,7 @@ } </style> -<script type="module"> +<script type="module" defer> import ContentTools from "/web_modules/ContentTools.js"; window.addEventListener('DOMContentLoaded', function() { |