Skip to content

Commit

Permalink
fix hanging tooltip when changing charts
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Nov 28, 2020
1 parent 8a8e68d commit 9a120e7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
alert('{{ graph_title }} error: \n{{ error|escapejs }}');
{% elif values %}
function loadChartScript(){
d3.selectAll('.nvtooltip').remove();
{% load_chart chart_type values chart_container extra %}
};
loadChartScript();
Expand Down

0 comments on commit 9a120e7

Please sign in to comment.