mirror of
https://github.com/Xevion/glance.git
synced 2025-12-06 01:15:08 -06:00
Fix popover error
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user