mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-06 09:47:43 +02:00
TSK-1089: Proper Recruit Archive (#2952)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -15,8 +15,8 @@ const emptyTooltip: LabelAndProps = {
|
||||
let storedValue: LabelAndProps = emptyTooltip
|
||||
export const tooltipstore = writable<LabelAndProps>(emptyTooltip)
|
||||
|
||||
let toHandler: any
|
||||
export function tooltip (node: HTMLElement, options?: LabelAndProps): any {
|
||||
let toHandler: any
|
||||
if (options === undefined) {
|
||||
return {}
|
||||
}
|
||||
@@ -80,6 +80,7 @@ export function showTooltip (
|
||||
}
|
||||
|
||||
export function closeTooltip (): void {
|
||||
clearTimeout(toHandler)
|
||||
storedValue = emptyTooltip
|
||||
tooltipstore.set(emptyTooltip)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user