Skip to content

Commit af9cca1

Browse files
committed
Use correct name
1 parent 56a819b commit af9cca1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vaadin-chartjs-wrapper/src/main/resources/META-INF/resources/frontend/src/chartThemeManager.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ window.xVaadinChartjsWrapper.tryUpdateChartJsTheming = function tryUpdateChartJs
66
}
77

88
if(typeof Chart === 'undefined') {
9-
console.debug("chartJs is not defined/loaded");
9+
console.debug("Chart.js is not defined/loaded");
1010
window.xVaadinChartjsWrapper.updatingChartJsThemingRequired = true;
1111
return;
1212
}
13-
14-
console.debug("Updating chartJs theming");
13+
14+
console.debug("Updating Chart.js theming");
1515
try {
1616
Chart.defaults.color = getComputedStyle(document.documentElement).getPropertyValue("--lumo-body-text-color");
1717
Chart.defaults.borderColor = getComputedStyle(document.documentElement).getPropertyValue("--lumo-contrast-20pct");
1818

1919
window.xVaadinChartjsWrapper.updatingChartJsThemingRequired = false;
2020
} catch(e) {
2121
window.xVaadinChartjsWrapper.updatingChartJsThemingRequired = true;
22-
console.debug("Failed to update chartJs theming", e);
22+
console.debug("Failed to update Chart.js theming", e);
2323
}
2424
}
2525

0 commit comments

Comments
 (0)