mirror of
https://github.com/pi-hole/web.git
synced 2025-12-25 05:05:33 +00:00
Allow domains to be added by hitting return (add them as exact domains).
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -223,7 +223,7 @@ function add(type) {
|
||||
$(document).keypress(function(e) {
|
||||
if(e.which === 13 && $("#domain").is(":focus")) {
|
||||
// Enter was pressed, and the input has focus
|
||||
add("exact");
|
||||
add(listType);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user