code from 3 to 2 chars
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -32,9 +32,9 @@ saveBtn.addEventListener('click', function () {
|
||||
return;
|
||||
}
|
||||
|
||||
if (code.length > 0 && code.length < 3) {
|
||||
if (code.length > 0 && code.length < 2) {
|
||||
showMessage({
|
||||
msg: 'The code should at least contain 3 characters',
|
||||
msg: 'The code should at least contain 2 characters',
|
||||
error: true
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user