Skip to content

A self-hosted dashboard that puts all your feeds in one place

fix code typo

Ralph Ocdol0e8945dd7130
diff --git a/internal/glance/static/js/popover.js b/internal/glance/static/js/popover.js
index 331ee26..ffdbae7 100644
--- a/internal/glance/static/js/popover.js
+++ b/internal/glance/static/js/popover.js
@@ -115,8 +115,8 @@ function repositionContainer() {
const containerInlinePadding = parseInt(containerComputedStyle.getPropertyValue("padding-inline"));
const targetBoundsWidthOffset = targetBounds.width * (activeTarget.dataset.popoverTargetOffset || 0.5);
const position = activeTarget.dataset.popoverPosition || "below";
- const popoverOffest = activeTarget.dataset.popoverOffset || 0.5;
- const left = Math.round(targetBounds.left + targetBoundsWidthOffset - (containerBounds.width * popoverOffest));
+ const popoverOffset = activeTarget.dataset.popoverOffset || 0.5;
+ const left = Math.round(targetBounds.left + targetBoundsWidthOffset - (containerBounds.width * popoverOffset));
if (left < 0) {
containerElement.style.left = 0;