aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/main.js')
-rw-r--r--interface/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/main.js b/interface/js/main.js
index 1d5ec5c3c..0e226a0b5 100644
--- a/interface/js/main.js
+++ b/interface/js/main.js
@@ -41,7 +41,7 @@ document.title = window.location.hostname +
" - Rspamd Web Interface";
// Ugly hack to get d3pie work with requirejs
-define("d3.global", ["d3"], function (d3global) { // eslint-disable-line strict
+define("d3.global", ["d3"], (d3global) => { // eslint-disable-line strict
d3 = d3global;
});