update build.js

This commit is contained in:
Chris Wanstrath 2025-10-06 20:51:02 -07:00
parent f4b8a27d1b
commit 593aac4ebc

View File

@ -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) {