From b8c0787dfaf64fc0d9741f45991b2eda85dc54a2 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Tue, 11 May 2021 23:55:52 -0400 Subject: [PATCH] Tooltip formatting fix --- framework/core/js/src/common/components/Tooltip.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/core/js/src/common/components/Tooltip.tsx b/framework/core/js/src/common/components/Tooltip.tsx index 13bc5590d..f266feaf0 100644 --- a/framework/core/js/src/common/components/Tooltip.tsx +++ b/framework/core/js/src/common/components/Tooltip.tsx @@ -233,9 +233,9 @@ export default class Tooltip extends Component { text, } = this.attrs; - const trigger = ( - typeof tooltipVisible === 'boolean' ? 'manual' : classList('hover', [showOnFocus && 'focus']) - ) as TooltipCreationOptions['trigger']; + const trigger = (typeof tooltipVisible === 'boolean' + ? 'manual' + : classList('hover', [showOnFocus && 'focus'])) as TooltipCreationOptions['trigger']; const realText = this.getRealText(); this.childDomNode.setAttribute('title', realText);