Fix typo in previous commit

This commit is contained in:
Risto Lahtela 2022-01-06 14:10:17 +02:00
parent 7a3ae85ac4
commit f26e17c437

View File

@ -473,7 +473,7 @@
Highcharts.setOptions(Highcharts.theme); Highcharts.setOptions(Highcharts.theme);
updateGraphs(); updateGraphs();
} catch (e) { } 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 // Highcharts isn't loaded, can be ignored
} else { } else {
console.error(e); console.error(e);