Prevent entry of empty genres

This commit is contained in:
somebody
2022-12-04 21:35:23 -06:00
parent 83f552981a
commit 49ee7f4caf

View File

@@ -6553,6 +6553,7 @@ function imgGenRetry() {
break;
case "Enter":
if (highlightIndex === -1) {
if (!genreInput.value.trim()) return;
addGenre(genreInput.value);
} else {
genreSuggestionContainer.children[highlightIndex].click();