This commit is contained in:
Chris Wanstrath 2025-10-06 20:51:00 -07:00
parent 1b47a154f2
commit f4b8a27d1b

View File

@ -114,6 +114,9 @@ function handleClick(e: MouseEvent) {
const target = e.target
if (!(target instanceof HTMLElement)) return
if (target.id.endsWith("-button"))
e.preventDefault()
switch (target.id) {
case "back-button":
navigateBack(); break
@ -130,8 +133,6 @@ function handleClick(e: MouseEvent) {
default:
return
}
e.preventDefault()
}
function handlePageLoad() {