Assortment of fixes #9
|
@ -28,7 +28,7 @@ doAfterLoad(() => {
|
|||
|
||||
const debreviate = () => {
|
||||
clearFormValidity(debreviateForm);
|
||||
const abbreviation = abbreviationInput.value.trim();
|
||||
const abbreviation = abbreviationInput.value.trim().toLowerCase();
|
||||
if (abbreviation === "") {
|
||||
showInputInvalid(abbreviationInput, "Abbreviation should be non-empty.");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue