Skip to content

Commit

Permalink
Allow multiple tooltip entries by cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpap committed Feb 20, 2024
1 parent 73be9b7 commit fbc9362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bokehjs/src/lib/models/tools/inspectors/hover_tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export class HoverToolView extends InspectToolView {
const {_template_view} = this
assert(_template_view != null)
this._update_template(_template_view, ds, i, vars)
return _template_view.el
return _template_view.el.cloneNode(true)
} else if (tooltips != null) {
const template = this._template_el ?? (this._template_el = this._create_template(tooltips))
return this._render_template(template, tooltips, ds, vars)
Expand Down

0 comments on commit fbc9362

Please sign in to comment.