Assortment of fixes #9

Merged
FWDekker merged 4 commits from wukl/debreviator:master into master 2023-02-08 16:13:13 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d3f3b54cae - Show all commits

View File

@ -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;