mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
Remove unused function from #1476
This commit is contained in:
parent
f017525ea8
commit
a3165d7f07
1 changed files with 0 additions and 11 deletions
|
@ -38,17 +38,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
onDestroy(() => tooltipObject?.dispose());
|
onDestroy(() => tooltipObject?.dispose());
|
||||||
|
|
||||||
// hack to update field description tooltips
|
|
||||||
let previousTooltip: string = tooltip;
|
|
||||||
$: if (tooltip !== previousTooltip) {
|
|
||||||
previousTooltip = tooltip;
|
|
||||||
if (tooltipObject !== undefined) {
|
|
||||||
const element: HTMLElement = tooltipObject["_element"];
|
|
||||||
tooltipObject.dispose();
|
|
||||||
createTooltip(element);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<slot {createTooltip} {tooltipObject} />
|
<slot {createTooltip} {tooltipObject} />
|
||||||
|
|
Loading…
Reference in a new issue