diff --git a/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js b/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js index 44daae315..837f62890 100644 --- a/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js +++ b/Plan/common/src/main/resources/assets/plan/web/js/color-selector.js @@ -473,7 +473,7 @@ Highcharts.setOptions(Highcharts.theme); updateGraphs(); } catch (e) { - if ("Highcharts is not defined" === e.message || "updateGraphs is not defined") { + if ("Highcharts is not defined" === e.message || "updateGraphs is not defined" === e.message) { // Highcharts isn't loaded, can be ignored } else { console.error(e);