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>
|
</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>.
|
||||||
|
4
index.js
4
index.js
@ -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 = []
|
||||||
SetupJSTheme()
|
function SetupJS(){
|
||||||
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user