1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Finishing touches

This commit is contained in:
Krateng
2019-03-08 11:52:59 +01:00
parent 279c1dcba2
commit 4f48daa4f8
3 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@
else {
xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = searchresult
xhttp.open("GET","/db/search?max=5&query=" + txt, true);
xhttp.open("GET","/db/search?max=5&query=" + encodeURIComponent(txt), true);
xhttp.send();
}
}