]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] JS: Add spaces at blocks edges
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 4 Jul 2018 09:58:28 +0000 (12:58 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 4 Jul 2018 09:58:28 +0000 (12:58 +0300)
interface/js/app/config.js
interface/js/app/rspamd.js
interface/js/app/symbols.js

index 9e3c3dd03d23b86c749924a9d50c9c2b249b9213..8c15b983e2e777d561069f19d20057efe610520c 100644 (file)
@@ -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); },
             });
         }
 
index 573739ab5173548bfa850abbe889b365fce2865d..1a6eaa2a2c76644b1939559b572960ea593c773e 100644 (file)
@@ -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);
                                 }
index 5579969cacfc6e4c8b21c2f049a02f1a4337819f..2699eefbea3913b6a5a91e4737c1267bca92eb0a 100644 (file)
@@ -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"}},
                         ],