diff --git a/src/routes/_utils/delegate.js b/src/routes/_utils/delegate.js index 9edbe631..b54a8063 100644 --- a/src/routes/_utils/delegate.js +++ b/src/routes/_utils/delegate.js @@ -28,6 +28,8 @@ function onEvent (e) { return // ignore if the user is selecting text inside the clickable area } } + e.preventDefault() + e.stopPropagation() callbacks[key](e) } }