Skip to content

Commit

Permalink
[big_number] tooltip shows in the wrong place (apache#5404)
Browse files Browse the repository at this point in the history
(cherry picked from commit 48317fd)
  • Loading branch information
mistercrunch committed Aug 4, 2018
1 parent b0467a2 commit 5952528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/assets/src/visualizations/big_number.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ function bigNumberVis(slice, payload) {
.attr('fill-opacity', 0)
.on('mouseover', function (d) {
d3.select(this).attr('fill-opacity', 1);
tip.show(d);
tip.show(d, this);
})
.on('mouseout', function (d) {
d3.select(this).attr('fill-opacity', 0);
tip.hide(d);
tip.hide(d, this);
});

div.on('mouseover', function () {
Expand Down

0 comments on commit 5952528

Please sign in to comment.