From e8e82dac8253acc2b2666abf89b9f9b07f03c589 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Fri, 23 Dec 2022 02:30:57 +0100 Subject: [PATCH] fixup: confusing commas --- packages/client/src/directives/tooltip.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/directives/tooltip.ts b/packages/client/src/directives/tooltip.ts index 77d7a7854..5a7bbea1e 100644 --- a/packages/client/src/directives/tooltip.ts +++ b/packages/client/src/directives/tooltip.ts @@ -34,7 +34,7 @@ class TooltipDirective { this._close?.(); this._close = null; }, delay); - }, + } public show(el): void { if (!document.body.contains(el)) return; @@ -58,7 +58,7 @@ class TooltipDirective { showing.value = false; }; }, delay); - }, + } } /** @@ -102,7 +102,7 @@ export default { beforeUpdate(el, binding) { (el._tooltipDirective_ as TooltipDirective).text = binding.value as string; - } + }, beforeUnmount(el) { (el._tooltipDirective_ as TooltipDirective).close();