Remove whitespace from both sides of the search string

Este commit está contenido en:
JustOff
2018-10-14 15:53:21 +03:00
padre 30ce66d6c6
commit ef65b7df74

Ver fichero

@@ -21,7 +21,7 @@ let List = {
if (search === undefined || search == "list?q=") {
search = "";
} else {
search = decodeURIComponent(search.replace(/\+/g, " "));
search = decodeURIComponent(search.replace(/\+/g, " ").trim());
document.getElementById("search-q").value = search;
}