diff --git a/src/components/operation.js b/src/components/operation.js index 9cef4113..4acf9111 100644 --- a/src/components/operation.js +++ b/src/components/operation.js @@ -348,7 +348,7 @@ function checkFeedRateRange(axis) { }, error: (v, settings) => { let { min, max } = Object.assign(SETTINGS_INITIALSTATE.machineFeedRange, settings.machineFeedRange)[axis]; - if (isNaN(min) || isNan(max)) + if (isNaN(min) || isNaN(max)) return 'Check settings/machine first!'; return 'Must be in range [' + min + ' , ' + max + ']' }