Make JS Setup get called after the main tag.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fbc6b3ed6a
commit
7c59cbacea
@ -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>.
|
||||
|
2
index.js
2
index.js
@ -3,7 +3,9 @@ This file is (C) Captain ALM
|
||||
Under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
|
||||
*/
|
||||
const EntryData = []
|
||||
function SetupJS(){
|
||||
SetupJSTheme()
|
||||
}
|
||||
function CreateEntry(id, name, videourl, videotype, start, end, duration) {
|
||||
EntryData[id] = {
|
||||
name: name,
|
||||
|
Loading…
Reference in New Issue
Block a user