Skip to content

Commit

Permalink
Fix bug with tooltip overrides
Browse files Browse the repository at this point in the history
The `tooltip` var that was receiving the override tooltip function was
being assigned into `tooltip` - the DOM element - rather than `tooltip_`
- the function var.
  • Loading branch information
borkweb committed May 23, 2014
1 parent e758679 commit 0133600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d3.parsets.js
Expand Up @@ -410,7 +410,7 @@

parsets.tooltip = function(_) {
if (!arguments.length) return tooltip;
tooltip = _ == null ? defaultTooltip : _;
tooltip_ = _ == null ? defaultTooltip : _;
return parsets;
};

Expand Down

0 comments on commit 0133600

Please sign in to comment.