From: Alexander Moisseev Date: Wed, 4 Jul 2018 09:35:22 +0000 (+0300) Subject: [Minor] JS: Remove spaces inside object's curly braces X-Git-Tag: 1.7.8~44^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9465dd0eab1477027a74b5956ef6ae2e69dc2426;p=rspamd.git [Minor] JS: Remove spaces inside object's curly braces --- 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,