Make JS Setup get called after the main tag.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Captain ALM 2022-07-30 16:23:00 +01:00
parent fbc6b3ed6a
commit 7c59cbacea
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
2 changed files with 6 additions and 1 deletions

View File

@ -181,6 +181,9 @@
</div>
{{ end }}
</main>
<script type="application/javascript">
SetupJS()
</script>
<footer>
<p>
Looking for the old static HTML page, here's the <a href="index.html">link</a>.

View File

@ -3,7 +3,9 @@ This file is (C) Captain ALM
Under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
*/
const EntryData = []
SetupJSTheme()
function SetupJS(){
SetupJSTheme()
}
function CreateEntry(id, name, videourl, videotype, start, end, duration) {
EntryData[id] = {
name: name,