diff --git a/internal/glance/static/js/popover.js b/internal/glance/static/js/popover.js index 5e38f9c..dc8abb8 100644 --- a/internal/glance/static/js/popover.js +++ b/internal/glance/static/js/popover.js @@ -38,6 +38,8 @@ function handleMouseEnter(event) { if (activeTarget !== target) { hidePopover(); requestAnimationFrame(() => requestAnimationFrame(showPopover)); + } else if (activeTarget.dataset.popoverTrigger === "click") { + hidePopover(); } return;