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