Skip to content

Commit e5dee9f

Browse files
authored
Fix comma causing Terser issue (chartjs#9326)
1 parent 4bdb57d commit e5dee9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/scales/scale.linearbase.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function generateTicks(generationOptions, dataRange) {
9898
// until this point
9999
const decimalPlaces = Math.max(
100100
_decimalPlaces(spacing),
101-
_decimalPlaces(niceMin),
101+
_decimalPlaces(niceMin)
102102
);
103103
factor = Math.pow(10, isNullOrUndef(precision) ? decimalPlaces : precision);
104104
niceMin = Math.round(niceMin * factor) / factor;

0 commit comments

Comments
 (0)