mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 02:18:22 +02:00
Fix popover error
This commit is contained in:
parent
9324da6a2f
commit
ca9e4d273b
@ -108,6 +108,8 @@ function showPopover() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function repositionContainer() {
|
function repositionContainer() {
|
||||||
|
if (activeTarget === null) return;
|
||||||
|
|
||||||
containerElement.style.display = "block";
|
containerElement.style.display = "block";
|
||||||
|
|
||||||
const targetBounds = activeTarget.dataset.popoverAnchor !== undefined
|
const targetBounds = activeTarget.dataset.popoverAnchor !== undefined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user