diff --git a/webui/src/main/js/search.js b/webui/src/main/js/search.js index 9c7dabcf..2bec87c0 100644 --- a/webui/src/main/js/search.js +++ b/webui/src/main/js/search.js @@ -43,6 +43,8 @@ class Sender { mapping.set("Results", this.results) var trustHtml = this.trust + "" + this.getTrustLinks() + "" + trustHtml += "
" + trustHtml += "
" mapping.set("Trust", trustHtml) mapping.set("Browse", this.getBrowseBlock()) @@ -66,8 +68,7 @@ class Sender { getTrustLink() { return "" + "" + _t("Mark Trusted") + "" + this.b64 + "\"); return false;'>" + _t("Mark Trusted") + "" } getNeutralLink() { @@ -77,8 +78,7 @@ class Sender { getDistrustLink() { return "" + "" + _t("Mark Distrusted") + "" + this.b64 + "\"); return false;'>" + _t("Mark Distrusted") + "" } getBrowseBlock() { @@ -345,7 +345,9 @@ class SenderForResult { } getTrustBlock() { - return this.trust +"" + this.getTrustLinks() + "" + return this.trust +"" + this.getTrustLinks() + "" + + "
" + + "
" } getTrustLinks() { @@ -360,8 +362,7 @@ class SenderForResult { getTrustLink() { return "" + "" + _t("Mark Trusted") + "" + this.b64 + "\"); return false;'>" + _t("Mark Trusted") + "" } getNeutralLink() { @@ -371,8 +372,7 @@ class SenderForResult { getDistrustLink() { return "" + "" + _t("Mark Distrusted") + "" + this.b64 + "\"); return false;'>" + _t("Mark Distrusted") + "" } }