Merge pull request #1293 from jacklul/patch-2

Trim user input where applicable
This commit is contained in:
DL6ER
2020-05-14 18:22:18 +02:00
committed by GitHub
3 changed files with 17 additions and 14 deletions

View File

@@ -255,7 +255,7 @@ function addClient() {
var ip = $("#select").val();
var comment = $("#new_comment").val();
if (ip === "custom") {
ip = $("#ip-custom").val();
ip = $("#ip-custom").val().trim();
}
utils.disableAll();