Merge pull request #3688 from westlywright/bug.froze.node.port

remove min num check from input integer
This commit is contained in:
Westly Wright 2020-01-02 09:21:08 -07:00 committed by GitHub
commit 382f72d648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default TextField.extend({
val = `${ max }`;
}
if ( !isNaN(min) && (isNaN(num) || num < min ) ) {
if ( !isNaN(min) && isNaN(num) ) {
val = `${ min }`;
}