diff --git a/js/tree-reusable-d3.js b/js/tree-reusable-d3.js index bee1bc9f..598f8234 100644 --- a/js/tree-reusable-d3.js +++ b/js/tree-reusable-d3.js @@ -94,6 +94,8 @@ function interactive_tree() { .attr("class", "tooltip") .style("opacity", 0) .on("mouseover", function(d) { + if(tooltip.style("opacity")==0) + return; tooltip.transition() .duration(200) .style("opacity", 1);