Compare commits

...

4 Commits

Author SHA1 Message Date
ef50e2d5ce Merge pull request 'feature/56-footer-version-loading' (#57) from feature/56-footer-version-loading into dev
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #57
close #56
2021-01-30 15:33:24 +00:00
ed1dc6e8d5 Merge branch 'dev' into feature/56-footer-version-loading 2021-01-30 15:28:07 +00:00
c2d7a319a0 use onMount event instead of DOMready
ref #56
2021-01-30 16:24:48 +01:00
901c7c1241 load version on DOMContentLoaded
ref #56
2021-01-30 16:16:30 +01:00

View File

@ -1,12 +1,13 @@
<script>
import { onMount } from "svelte";
import { _ } from "svelte-i18n";
$: releaseinfo = "";
setTimeout(() => {
onMount(() => {
releaseinfo = document
.getElementById("buildinfo")
.textContent.replace("RELEASE_INFO-", "")
.replace("-RELEASE_INFO", "");
}, 1500);
});
const year = new Date().getFullYear();
</script>