diff --git a/webui/src/main/js/search.js b/webui/src/main/js/search.js index 8d944c81..1a5085a5 100644 --- a/webui/src/main/js/search.js +++ b/webui/src/main/js/search.js @@ -183,7 +183,7 @@ class ResultFromSender { getDownloadBlock() { if (this.downloading == "true") - return _t("Downloading") + return "" + _t("Downloading") + "" var link = "" + _t("Download") + "" var block = "" + link + "" return block @@ -241,7 +241,7 @@ class Result { } getDownloadBlock() { if (this.downloading == "true") - return _t("Downloading") + return "" + _t("Downloading") + "" var link = "" + _t("Download") + "" var block = "" + link + "" return block @@ -510,7 +510,7 @@ function download(resultInfoHash) { xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var resultSpan = document.getElementById("download-"+resultInfoHash); - resultSpan.innerHTML = _t("Downloading"); + resultSpan.innerHTML = "" + _t("Downloading") + "" } } xmlhttp.open("POST", "/MuWire/Download", true);