fixup: confusing commas

This commit is contained in:
Johann150 2022-12-23 02:30:57 +01:00
parent ddf3e2c3db
commit e8e82dac82
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -34,7 +34,7 @@ class TooltipDirective {
this._close?.(); this._close?.();
this._close = null; this._close = null;
}, delay); }, delay);
}, }
public show(el): void { public show(el): void {
if (!document.body.contains(el)) return; if (!document.body.contains(el)) return;
@ -58,7 +58,7 @@ class TooltipDirective {
showing.value = false; showing.value = false;
}; };
}, delay); }, delay);
}, }
} }
/** /**
@ -102,7 +102,7 @@ export default {
beforeUpdate(el, binding) { beforeUpdate(el, binding) {
(el._tooltipDirective_ as TooltipDirective).text = binding.value as string; (el._tooltipDirective_ as TooltipDirective).text = binding.value as string;
} },
beforeUnmount(el) { beforeUnmount(el) {
(el._tooltipDirective_ as TooltipDirective).close(); (el._tooltipDirective_ as TooltipDirective).close();