From 97f21fc116b5c2bb416d8bd212a2ee06ddceee68 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Sun, 8 Jul 2018 11:58:27 +0300 Subject: [WebUI] Fix variable assignment I think `var full = shrt = "";` is `var full = (shrt = "");` effectively, so `full = true`. --- interface/js/app/history.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interface/js') diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 7677550bd..4a8cddb0c 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -137,7 +137,8 @@ define(["jquery", "footable", "humanize"], return (l > rcpt_lim) ? " … (" + l + ")" : ""; } function format_rcpt(smtp, mime) { - var full = shrt = ""; + var full = ""; + var shrt = ""; if (smtp) { full = "[" + item.rcpt_smtp.join(", ") + "] "; shrt = "[" + item.rcpt_smtp.slice(0, rcpt_lim).join(",​") + more("rcpt_smtp") + "]"; -- cgit v1.2.3