Removed comments
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-10-18 10:14:04 +02:00
parent ee1a7952ad
commit ff2a1e7617
1 changed files with 0 additions and 3 deletions

View File

@ -99,8 +99,6 @@ export default class Popover extends Popup {
left = parentRect.left + parentRect.width / 2 - width / 2; left = parentRect.left + parentRect.width / 2 - width / 2;
left = clamp(left, margin, maxRight - width); left = clamp(left, margin, maxRight - width);
} }
/* let left = parentRect.left + parentRect.width / 2 - width / 2;
left = clamp(left, margin, maxRight - width); */
let top; let top;
if (this.direction == 'left') if (this.direction == 'left')
@ -122,7 +120,6 @@ export default class Popover extends Popup {
if (this.direction == 'left') { if (this.direction == 'left') {
arrowLeft = 0; arrowLeft = 0;
let arrowTop = arrowOffset; let arrowTop = arrowOffset;
// arrowLeft = clamp(arrowLeft, arrowHeight, width - arrowHeight);
arrowStyle.top = `${arrowTop}px`; arrowStyle.top = `${arrowTop}px`;
} else { } else {
arrowLeft = (parentRect.left - left) + parentRect.width / 2; arrowLeft = (parentRect.left - left) + parentRect.width / 2;