Compare commits

..

No commits in common. "593aac4ebc1319d3a6911387ffef92197275ad13" and "1b47a154f26d8e7e8ab1b38649df981df11455a8" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,5 @@
////
// version: f4b8a27
// version: 1a11bd0
// src/js/dom.ts
var content2 = $("content");
@ -247,8 +247,6 @@ 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();
@ -271,6 +269,7 @@ function handleClick(e) {
default:
return;
}
e.preventDefault();
}
function handlePageLoad() {}
function setAddress(url) {

View File

@ -114,9 +114,6 @@ 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
@ -133,6 +130,8 @@ function handleClick(e: MouseEvent) {
default:
return
}
e.preventDefault()
}
function handlePageLoad() {