diff --git a/controller/internal/web/templates/settings.html b/controller/internal/web/templates/settings.html index c50ed75..992abf6 100644 --- a/controller/internal/web/templates/settings.html +++ b/controller/internal/web/templates/settings.html @@ -734,7 +734,10 @@ window.__registeredPaths=[{{range .StoragePaths}}{{if .Path}}"{{.Path}}",{{end}} count++; } list.innerHTML = html || '
Nincs találat
'; - list.style.display = count > 0 || q ? '' : 'none'; + // Reveal with 'block', NOT '' — the .geo-country-list CSS default is display:none, + // and clearing the inline style ('') would fall back to that and keep the (populated) + // list hidden. This was the country-autocomplete "no list" bug. + list.style.display = count > 0 || q ? 'block' : 'none'; }; window.addCountry = function(code, name) {