File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
vaadin-chartjs-wrapper/src/main/resources/META-INF/resources/frontend/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments