fix: non-SPA fn defs (closes #154)
This commit is contained in:
parent
3cc761ea2d
commit
3912c98dad
@ -127,8 +127,11 @@
|
||||
navigate: (url) => (window.location.href = url),
|
||||
prefetch: () => {},
|
||||
}
|
||||
init()
|
||||
render()
|
||||
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
init()
|
||||
render()
|
||||
})
|
||||
</script>
|
||||
{{end}}
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user