From 0c892e55b38dc4ca66abed118866c663b3984e5b Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 20:55:26 -0700 Subject: [PATCH] update build.js --- public/bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 224ee13..4fde866 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -1,5 +1,5 @@ //// -// version: f4b8a27 +// version: a4e5557 // src/js/dom.ts var content2 = $("content"); @@ -244,7 +244,7 @@ function handleBrowserKeydown(e) { } } function handleClick(e) { - const target = e.target; + const target = e.target.closest("button, a"); if (!(target instanceof HTMLElement)) return; if (target.id.endsWith("-button"))