Skip to content

Commit 7e4997d

Browse files
author
Chris K
committed
DFL-3481 JS source tooltip breaks after going to function from tooltip
1 parent 050b93b commit 7e4997d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ui-scripts/tooltip/tooltipcontext.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ TooltipContext.prototype = new function()
5555
{
5656
this.clear_show_timeout();
5757
if (!keep_context && this.current_tooltip)
58+
{
59+
if (this.last_event)
60+
this.handle_mouse_leave(this.last_event);
5861
this.current_tooltip.onhide();
62+
}
5963

6064
this._clear_last_handler_eles();
6165
this.tooltip_ele.innerHTML = "";

0 commit comments

Comments
 (0)