Make JS Setup get called after the main tag.
All checks were successful
continuous-integration/drone/push Build is passing

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> </div>
{{ end }} {{ end }}
</main> </main>
<script type="application/javascript">
SetupJS()
</script>
<footer> <footer>
<p> <p>
Looking for the old static HTML page, here's the <a href="index.html">link</a>. 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 Under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
*/ */
const EntryData = [] const EntryData = []
function SetupJS(){
SetupJSTheme() SetupJSTheme()
}
function CreateEntry(id, name, videourl, videotype, start, end, duration) { function CreateEntry(id, name, videourl, videotype, start, end, duration) {
EntryData[id] = { EntryData[id] = {
name: name, name: name,