diff --git a/src/interface/web/index.html b/src/interface/web/index.html index 7ef95b42..b364f670 100644 --- a/src/interface/web/index.html +++ b/src/interface/web/index.html @@ -85,7 +85,10 @@ // Fill search form with values passed in URL query parameters, if any. window.onload = function () { document.getElementById("type").value = new URLSearchParams(window.location.search).get("t") || "org"; - document.getElementById("query").value = new URLSearchParams(window.location.search).get("q") || "What is the meaning of life?"; + var query_via_url = new URLSearchParams(window.location.search).get("q"); + if (query_via_url) { + document.getElementById("query").value = query_via_url; + } }