diff --git a/superset/assets/vendor/cal-heatmap/cal-heatmap.js b/superset/assets/vendor/cal-heatmap/cal-heatmap.js index 0b00756cb9..0881c9a73e 100644 --- a/superset/assets/vendor/cal-heatmap/cal-heatmap.js +++ b/superset/assets/vendor/cal-heatmap/cal-heatmap.js @@ -897,7 +897,7 @@ var CalHeatMap = function() { if (options.tooltip) { selection .on("mouseover", function(d) { - self.tip.show(d); + self.tip.show(d, this); }) .on("mouseout", function() { self.tip.hide(d); @@ -3285,7 +3285,7 @@ Legend.prototype.redraw = function(width) { }); legendItem .on("mouseover", function(d) { - calendar.legendTip.show(d); + calendar.legendTip.show(d, this); }) .on("mouseout", function() { calendar.legendTip.hide();