aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/history.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/history.js')
-rw-r--r--interface/js/app/history.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js
index 3c62983ad..fbae27959 100644
--- a/interface/js/app/history.js
+++ b/interface/js/app/history.js
@@ -115,7 +115,7 @@ function($, _, Humanize) {
function process_history_v2(data) {
// Display no more than rcpt_lim recipients
- const rcpt_lim = 3;
+ var rcpt_lim = 3;
var items = [];
function getSelector(id) {
@@ -133,7 +133,7 @@ function($, _, Humanize) {
$.each(data.rows,
function (i, item) {
function more(p) {
- const l = item[p].length;
+ var l = item[p].length;
return (l > rcpt_lim) ? " … (" + l + ")" : "";
}
function format_rcpt(smtp, mime) {
@@ -556,7 +556,7 @@ function($, _, Humanize) {
if (checked_server === "All SERVERS") {
rspamd.queryNeighbours("history", function (req_data) {
function differentVersions() {
- const dv = neighbours_data.some(function (e) {
+ var dv = neighbours_data.some(function (e) {
return e.version !== neighbours_data[0].version;
});
if (dv) {