aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/stats.js
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-15 17:26:12 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-15 17:26:12 +0300
commitab72e301244e22f10463bfbf744ad95da4f7e9f9 (patch)
treebd3c6fee12eb8d3237a25dc00e04827d7d9733bf /interface/js/app/stats.js
parent5771b12d4e02543a2b3e96e095dbcf20f10e7588 (diff)
downloadrspamd-ab72e301244e22f10463bfbf744ad95da4f7e9f9.tar.gz
rspamd-ab72e301244e22f10463bfbf744ad95da4f7e9f9.zip
[Minor] Use consistent brace style for blocks (1tbs)
Diffstat (limited to 'interface/js/app/stats.js')
-rw-r--r--interface/js/app/stats.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js
index 65e6f2772..c41934200 100644
--- a/interface/js/app/stats.js
+++ b/interface/js/app/stats.js
@@ -126,8 +126,7 @@ define(["jquery", "d3pie", "humanize"],
if (checked_server === key) {
$("#clusterTable tbody [value=\"" + key + "\"]").prop("checked", true);
$("#selSrv [value=\"" + key + "\"]").prop("selected", true);
- }
- else if (!val.status) {
+ } else if (!val.status) {
$("#clusterTable tbody [value=\"" + key + "\"]").prop("disabled", true);
$("#selSrv [value=\"" + key + "\"]").prop("disabled", true);
}