From b82949d3fb0c7df7525a8feb8be25c6a66a887d7 Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Wed, 15 May 2013 07:51:09 +1200 Subject: Clear filters when charts are hidden --- public/js/mv/chart.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/mv/chart.js b/public/js/mv/chart.js index 1d85f2b..a1d80db 100644 --- a/public/js/mv/chart.js +++ b/public/js/mv/chart.js @@ -57,6 +57,9 @@ var mv = function(mv) { if (mv.charts.type.filter() != "KILLXP") { /* Hide killxp charts */ killxpCharts.style("opacity", "0"); + mv.charts.target.filterAll(); + mv.charts.wpn.filterAll(); + mv.charts.numAttackers.filterAll(); killxpShown = false; } } else { -- cgit v1.2.3-60-g2f50