From 2bf03b6b8401d9861c73e5b72d3eabb83db17f09 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Tue, 17 Dec 2019 10:30:07 +0000 Subject: [PATCH] use div.centercomment for trust comments --- webui/src/main/js/search.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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") + "" } }