Skip to content

A self-hosted dashboard that puts all your feeds in one place

Hide popover on click

Svilen Markovfcdea66a0fd8
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;