aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-04 12:35:22 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-04 12:35:22 +0300
commit9465dd0eab1477027a74b5956ef6ae2e69dc2426 (patch)
tree8da0ecfe1f1ad639b78c1d93656205ca64b4b9f4 /interface
parentb7f6463e7c448c93de054245ebea3056588f85da (diff)
downloadrspamd-9465dd0eab1477027a74b5956ef6ae2e69dc2426.tar.gz
rspamd-9465dd0eab1477027a74b5956ef6ae2e69dc2426.zip
[Minor] JS: Remove spaces inside object's curly braces
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/graph.js12
-rw-r--r--interface/js/app/stats.js2
2 files changed, 7 insertions, 7 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js
index 46231bc1f..fdda44e92 100644
--- a/interface/js/app/graph.js
+++ b/interface/js/app/graph.js
@@ -155,12 +155,12 @@ define(["jquery", "d3evolution", "footable"],
enabled: true
},
columns: [
- { name: "label", title: "Action" },
- { name: "value", title: "Messages", defaultContent: "" },
- { name: "min", title: "Minimum, " + unit, defaultContent: "" },
- { name: "avg", title: "Average, " + unit, defaultContent: "" },
- { name: "max", title: "Maximum, " + unit, defaultContent: "" },
- { name: "last", title: "Last, " + unit },
+ {name: "label", title: "Action"},
+ {name: "value", title: "Messages", defaultContent: ""},
+ {name: "min", title: "Minimum, " + unit, defaultContent: ""},
+ {name: "avg", title: "Average, " + unit, defaultContent: ""},
+ {name: "max", title: "Maximum, " + unit, defaultContent: ""},
+ {name: "last", title: "Last, " + unit},
],
rows: rows
});
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js
index 738fd59cf..e83de0433 100644
--- a/interface/js/app/stats.js
+++ b/interface/js/app/stats.js
@@ -206,7 +206,7 @@ define(["jquery", "d3pie", "humanize"],
}
neighbours_sum.uptime = Math.floor(neighbours_sum.uptime / status_count);
var to_Credentials = {};
- to_Credentials["All SERVERS"] = { name: "All SERVERS",
+ to_Credentials["All SERVERS"] = {name: "All SERVERS",
url: "",
host: "",
checked: true,