From ca9e4d273bbe3bfcff2192044a9fb1c53392ccda Mon Sep 17 00:00:00 2001 From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com> Date: Wed, 7 May 2025 20:17:36 +0100 Subject: [PATCH] Fix popover error --- internal/glance/static/js/popover.js | 2 ++ 1 file changed, 2 insertions(+) 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