code from 3 to 2 chars

This commit is contained in:
yoannchb-pro
2024-05-04 00:33:46 -04:00
parent eb58ac44ca
commit 71f43590db
7 changed files with 53 additions and 17 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -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;