diff --git a/SolarPower/Views/AnalysisStationInfo/Index.cshtml b/SolarPower/Views/AnalysisStationInfo/Index.cshtml index 3ee51fd..bde9d1d 100644 --- a/SolarPower/Views/AnalysisStationInfo/Index.cshtml +++ b/SolarPower/Views/AnalysisStationInfo/Index.cshtml @@ -430,13 +430,11 @@ default_compare_col.push($(this).val()); } } else { - if ($.inArray($(this).val(), default_compare_col) > 0) { + if ($.inArray($(this).val(), default_compare_col) > -1) { default_compare_col.splice($.inArray($(this).val(), default_compare_col), 1); } } - console.log("default_compare_col", default_compare_col) - ReloadHighCharts(); });