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"))