mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-25 16:14:50 +00:00
fix: non-SPA fn defs (closes #154)
This commit is contained in:
parent
0896814959
commit
8d7a7b712f
@ -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