aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.json1
-rw-r--r--interface/js/app/history.js3
2 files changed, 2 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 71e2b443d..2c32e16a7 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -72,7 +72,6 @@
"no-implicit-coercion": "off",
"no-inline-comments": "off",
"no-loop-func": "off",
- "no-multi-assign": "off",
"no-negated-condition": "off",
"no-param-reassign": "off",
"no-redeclare": "off",
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") + "]";