diff --git a/src/tooltip/tooltip.ts b/src/tooltip/tooltip.ts index d61ae18..47feaf2 100644 --- a/src/tooltip/tooltip.ts +++ b/src/tooltip/tooltip.ts @@ -12,6 +12,7 @@ export default class TooltipElement extends HTMLElement { private disabledObserver?: MutationObserver; private showing: boolean = false; private cleanup?: () => void; + private prevInnerHTML?: string; private onMouseEnter = this.afterDelay.bind(this, this.show); private onFocus = this.show.bind(this);