hmm
This commit is contained in:
parent
1b47a154f2
commit
f4b8a27d1b
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user