Skip to content

Commit

Permalink
Add "excess" to error message for unpermitted leading zeros. See issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bmbroom committed Apr 20, 2023
1 parent 5bfa641 commit f745c21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ NgChmGui.FORMAT.validateMatrixBreaks = function() {
break;
}
if (/^-*0[0-9]/.test(thresholds[i])) {
errorMsgs = errorMsgs + "<p class='error_message'>" +NgChmGui.UTIL.errorPrefix + "Color Thresholds contain an entry(s) with leading zero(s).</p>";
errorMsgs = errorMsgs + "<p class='error_message'>" +NgChmGui.UTIL.errorPrefix + "Color Thresholds contain an entry(s) with excess leading zero(s).</p>";
break;
}
var currThresh = parseFloat(thresholds[i]);
Expand Down

0 comments on commit f745c21

Please sign in to comment.