diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-02-14 17:54:31 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2017-02-14 17:54:31 +0300 |
commit | 71d95e627a19bf9385fc565a2b6c1c159e7f9ad3 (patch) | |
tree | a861bef3633c7b89e14bc9b45399d250fb5e449e /interface | |
parent | 0064208668433a36973f828adf1db81b6e418f78 (diff) | |
download | rspamd-71d95e627a19bf9385fc565a2b6c1c159e7f9ad3.tar.gz rspamd-71d95e627a19bf9385fc565a2b6c1c159e7f9ad3.zip |
[WebUI] Fix compatibility with non-ES6 compliant browsers
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/graph.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js index 3b2c2be35..62452d367 100644 --- a/interface/js/app/graph.js +++ b/interface/js/app/graph.js @@ -180,7 +180,7 @@ function($, D3Evolution, unused) { if (checked_server === "All SERVERS") { rspamd.queryNeighbours("graph", function (req_data) { - let neighbours_data = req_data + var neighbours_data = req_data .filter(function (d) { return d.status }) // filter out unavailable neighbours .map(function (d){ return d.data; }) @@ -194,7 +194,7 @@ function($, D3Evolution, unused) { return; } - let data = []; + var data = []; curr.forEach(function (action, j) { data.push( action.map(function (d, i) { |