summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-04 12:58:28 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-04 12:58:28 +0300
commit0202711c20b6e820667f4a874fa613ddc41163b7 (patch)
tree16f73f30f2493307ddc6dab3cf98da134081f090 /interface
parent91efdbe15f2934f7cebfe0d11bea4937a86e1d3e (diff)
downloadrspamd-0202711c20b6e820667f4a874fa613ddc41163b7.tar.gz
rspamd-0202711c20b6e820667f4a874fa613ddc41163b7.zip
[Minor] JS: Add spaces at blocks edges
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/config.js2
-rw-r--r--interface/js/app/rspamd.js4
-rw-r--r--interface/js/app/symbols.js2
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"}},
],