From 71d95e627a19bf9385fc565a2b6c1c159e7f9ad3 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 14 Feb 2017 17:54:31 +0300 Subject: [PATCH] [WebUI] Fix compatibility with non-ES6 compliant browsers --- interface/js/app/graph.js | 4 ++-- 1 file 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) { -- 2.39.5