mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Prevent entry of empty genres
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user