diff --git a/scripts/pi-hole/js/groups-domains.js b/scripts/pi-hole/js/groups-domains.js index c0c41698..9eaeecd5 100644 --- a/scripts/pi-hole/js/groups-domains.js +++ b/scripts/pi-hole/js/groups-domains.js @@ -545,6 +545,7 @@ function addDomain() { wildcardEl.prop("checked", false); table.ajax.reload(null, false); table.rows().deselect(); + domainEl.focus(); } else { utils.showAlert("error", "", "Error while adding new " + domainRegex, response.message); }