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:
DL6ER
2019-08-27 17:19:05 +02:00
parent e66d0c4a74
commit 4743228a86
3 changed files with 4 additions and 5 deletions

View File

@@ -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);
}
});