summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--interface/js/app/history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js
index d686a50ca..3d73c034f 100644
--- a/interface/js/app/history.js
+++ b/interface/js/app/history.js
@@ -171,7 +171,7 @@ function($, _, Humanize) {
"value": scan_time
};
item.id = item['message-id'];
- if (JSON.stringify(item.rcpt_smtp) !== JSON.stringify(item.rcpt_mime)) {
+ if ($(item.rcpt_mime).not(item.rcpt_smtp).length !== 0 || $(item.rcpt_smtp).not(item.rcpt_mime).length !== 0) {
item.rcpt_mime = "[" + item.rcpt_smtp.join(",​") + "] " + item.rcpt_mime.join(",​");
} else {
item.rcpt_mime = item.rcpt_mime.join(",​");