Skip to content

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

Fix popover error

Svilen Markovca9e4d273bbe
diff --git a/internal/glance/static/js/popover.js b/internal/glance/static/js/popover.js
index a40b0df..98b1051 100644
--- a/internal/glance/static/js/popover.js
+++ b/internal/glance/static/js/popover.js
@@ -108,6 +108,8 @@ function showPopover() {
}
function repositionContainer() {
+ if (activeTarget === null) return;
+
containerElement.style.display = "block";
const targetBounds = activeTarget.dataset.popoverAnchor !== undefined