update build.js
This commit is contained in:
parent
f4b8a27d1b
commit
593aac4ebc
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user