From 0202711c20b6e820667f4a874fa613ddc41163b7 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Wed, 4 Jul 2018 12:58:28 +0300 Subject: [PATCH] [Minor] JS: Add spaces at blocks edges --- interface/js/app/config.js | 2 +- interface/js/app/rspamd.js | 4 ++-- interface/js/app/symbols.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/js/app/config.js b/interface/js/app/config.js index 9e3c3dd03..8c15b983e 100644 --- a/interface/js/app/config.js +++ b/interface/js/app/config.js @@ -51,7 +51,7 @@ define(["jquery"], error: function (data) { save_map_error(rspamd, "local", null, null, data.statusText); }, - success: function() {save_map_success(rspamd);}, + success: function() { save_map_success(rspamd); }, }); } diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 573739ab5..1a6eaa2a2 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -410,7 +410,7 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config, neighbours_status[ind].status = true; //serv does not work neighbours_status[ind].data = data; } - if (neighbours_status.every(function (elt) {return elt.checked;})) { + if (neighbours_status.every(function (elt) { return elt.checked; })) { if (on_success) { on_success(neighbours_status); } @@ -431,7 +431,7 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config, neighbours_status[ind].host + ": " + errorThrown); } if (neighbours_status.every( - function (elt) {return elt.checked;})) { + function (elt) { return elt.checked; })) { if (on_success) { on_success(neighbours_status); } diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 5579969ca..2699eefbe 100644 --- a/interface/js/app/symbols.js +++ b/interface/js/app/symbols.js @@ -219,7 +219,7 @@ define(["jquery", "footable"], {"name":"symbol", "title":"Symbol", "style":{"font-size":"11px"}}, {"name":"description", "title":"Description", "breakpoints":"xs sm", "style":{"font-size":"11px"}}, {"name":"weight", "title":"Score", "style":{"font-size":"11px"}}, - {"name":"frequency", "title":"Frequency", "breakpoints":"xs sm", "style":{"font-size":"11px"}, "sortValue": function(value) {return Number(value).toFixed(2);}}, + {"name":"frequency", "title":"Frequency", "breakpoints":"xs sm", "style":{"font-size":"11px"}, "sortValue": function(value) { return Number(value).toFixed(2); }}, {"name":"time", "title":"Avg. time", "breakpoints":"xs sm", "style":{"font-size":"11px"}}, {"name":"save", "title":"Save", "style":{"font-size":"11px"}}, ], -- 2.39.5