From ff2a1e761738d53e1f4a9ffc1f2945a8e39610b0 Mon Sep 17 00:00:00 2001 From: joan Date: Mon, 18 Oct 2021 10:14:04 +0200 Subject: [PATCH] Removed comments --- front/core/components/popover/index.js | 3 --- 1 file changed, 3 deletions(-) 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;