Fix an error message to be more accurate
This commit is contained in:
@ -271,7 +271,7 @@ generateInputsBtn.addEventListener('click', () => {
|
|||||||
const count = parseInt(moduleCountInput.value);
|
const count = parseInt(moduleCountInput.value);
|
||||||
|
|
||||||
if (isNaN(count) || count < 2) {
|
if (isNaN(count) || count < 2) {
|
||||||
alert('Please enter a valid number of modules between 2 and 12.');
|
alert('Please enter a valid number of modules above or equal to 2.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
generateModuleInputs(count);
|
generateModuleInputs(count);
|
||||||
|
|||||||
Reference in New Issue
Block a user