Skip to content

Commit 994f621

Browse files
author
Chris K
committed
Fixed static hide_tooltip.
1 parent cd33ace commit 994f621

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ui-scripts/tooltip/tooltip.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,13 @@ Tooltips.CSS_TOOLTIP_SELECTED = "tooltip-selected";
462462
this.hide_tooltip = function()
463463
{
464464
if (_cur_ctx)
465+
{
466+
while (_ctx_stack.length > 1)
467+
_ctx_stack.pop().hide_tooltip();
468+
469+
_cur_ctx = _ctx_stack.last;
465470
_cur_ctx.hide_tooltip();
466-
}
471+
}
472+
};
467473

468474
}).apply(Tooltips);

0 commit comments

Comments
 (0)