Fix: fix #1813. For some reason, importing a .js-file suddenly fails, so ported it to typescript

This commit is contained in:
Pieter Vander Vennet 2024-03-07 17:16:39 +01:00
parent c70ab96427
commit cab414e808
3 changed files with 33 additions and 32 deletions

View file

@ -73,7 +73,7 @@
</div>
</div>
<div aria-hidden="true" id="belowmap" class="absolute top-0 left-0 -z-10">Below</div>
<script src="./src/UI/RemoveOtherLanguages.js"></script>
<script src="./src/UI/RemoveOtherLanguages.ts" type="module"></script>
<script async src="./src/InstallServiceWorker.ts" type="module"></script>
<script defer src="./src/index.ts" type="module"></script>
<script async data-goatcounter="https://pietervdvn.goatcounter.com/count" src="https://gc.zgo.at/count.js" crossorigin="anonymous" integrity="sha384-nx5O+otcqJoqMhdDt8jUzmia6ng81Z5zZozYr69TzPkOLjVhLKMxu5zHCV9/0MPn"></script>