Fix popover error
This commit is contained in:
parent
9324da6a2f
commit
ca9e4d273b
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue