diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-08 11:58:27 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-08 11:58:27 +0300 |
commit | 97f21fc116b5c2bb416d8bd212a2ee06ddceee68 (patch) | |
tree | e81fc467ff4dc4f4c59e6427b71fbcac537c152e /interface/js | |
parent | e514ce57b5dfba541564828ef6373c0912a9f7cd (diff) | |
download | rspamd-97f21fc116b5c2bb416d8bd212a2ee06ddceee68.tar.gz rspamd-97f21fc116b5c2bb416d8bd212a2ee06ddceee68.zip |
[WebUI] Fix variable assignment
I think `var full = shrt = "";` is `var full = (shrt = "");` effectively, so `full = true`.
Diffstat (limited to 'interface/js')
-rw-r--r-- | interface/js/app/history.js | 3 |
1 files changed, 2 insertions, 1 deletions
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") + "]"; |