From 28ff849320ea8b5a520de402f85b6b9bd4516aee Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Wed, 15 May 2013 07:54:00 +1200 Subject: Completely remove display of hidden charts Previously, you could still click on the (fully transparent) pieces. --- public/js/mv/chart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/mv/chart.js b/public/js/mv/chart.js index a1d80db..288a1de 100644 --- a/public/js/mv/chart.js +++ b/public/js/mv/chart.js @@ -56,7 +56,7 @@ var mv = function(mv) { if (killxpShown) { if (mv.charts.type.filter() != "KILLXP") { /* Hide killxp charts */ - killxpCharts.style("opacity", "0"); + killxpCharts.style("display", "none"); mv.charts.target.filterAll(); mv.charts.wpn.filterAll(); mv.charts.numAttackers.filterAll(); @@ -65,7 +65,7 @@ var mv = function(mv) { } else { if (mv.charts.type.filter() == "KILLXP") { /* Show killxp charts */ - killxpCharts.style("opacity", "1"); + killxpCharts.style("display", "block"); killxpShown = true; } } -- cgit v1.2.3-60-g2f50