Beta-2.1 - The clearer, the faster #22

Merged
Djeex merged 27 commits from Beta-2.1 into main 2025-09-04 12:50:26 +02:00
24 changed files with 1366 additions and 691 deletions
Showing only changes of commit b7fdcacf77 - Show all commits

View File

@ -251,11 +251,9 @@ function renderTags(imgIndex, tags) {
}); });
input.addEventListener('blur', () => { input.addEventListener('blur', () => {
setTimeout(() => {
suggestionBox.style.display = 'none'; suggestionBox.style.display = 'none';
input.value = ''; input.value = '';
validateBtn.style.display = 'none'; validateBtn.style.display = 'none';
}, 150);
}); });
// --- Validate button action --- // --- Validate button action ---
@ -267,9 +265,10 @@ function renderTags(imgIndex, tags) {
validateBtn.style.display = 'none'; validateBtn.style.display = 'none';
} }
}; };
input.focus();
updateSuggestions(); updateSuggestions();
if (!input.value.trim()) {
suggestionBox.style.display = 'none';
}
} }
// --- Update tags in galleryImages array --- // --- Update tags in galleryImages array ---