Intercept internal links and render the page without reloading

This commit is contained in:
knotteye committed 2020-10-17 00:11:24 -05:00
1 parent 54a891dac1
commit 58e8be123c
2 files changed
+56 -27

No files matched your search

+1 -1
View File
@@ -18,6 +18,6 @@
}
</script>
</head>
<body onload="render()">
<body onload="render(window.location.pathname)">
<script src="/index.js"></script>
</body>