diff --git a/front/core/components/popover/index.js b/front/core/components/popover/index.js index 9567102db..8dbae629c 100644 --- a/front/core/components/popover/index.js +++ b/front/core/components/popover/index.js @@ -99,8 +99,6 @@ export default class Popover extends Popup { left = parentRect.left + parentRect.width / 2 - width / 2; left = clamp(left, margin, maxRight - width); } - /* let left = parentRect.left + parentRect.width / 2 - width / 2; - left = clamp(left, margin, maxRight - width); */ let top; if (this.direction == 'left') @@ -122,7 +120,6 @@ export default class Popover extends Popup { if (this.direction == 'left') { arrowLeft = 0; let arrowTop = arrowOffset; - // arrowLeft = clamp(arrowLeft, arrowHeight, width - arrowHeight); arrowStyle.top = `${arrowTop}px`; } else { arrowLeft = (parentRect.left - left) + parentRect.width / 2;