Compare commits
2 Commits
1b47a154f2
...
593aac4ebc
| Author | SHA1 | Date | |
|---|---|---|---|
| 593aac4ebc | |||
| f4b8a27d1b |
|
|
@ -1,5 +1,5 @@
|
|||
////
|
||||
// version: 1a11bd0
|
||||
// version: f4b8a27
|
||||
|
||||
// src/js/dom.ts
|
||||
var content2 = $("content");
|
||||
|
|
@ -247,6 +247,8 @@ function handleClick(e) {
|
|||
const target = e.target;
|
||||
if (!(target instanceof HTMLElement))
|
||||
return;
|
||||
if (target.id.endsWith("-button"))
|
||||
e.preventDefault();
|
||||
switch (target.id) {
|
||||
case "back-button":
|
||||
navigateBack();
|
||||
|
|
@ -269,7 +271,6 @@ function handleClick(e) {
|
|||
default:
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
}
|
||||
function handlePageLoad() {}
|
||||
function setAddress(url) {
|
||||
|
|
|
|||
|
|
@ -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