aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/symbols.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/symbols.js
parent5771b12d4e02543a2b3e96e095dbcf20f10e7588 (diff)
downloadrspamd-ab72e301244e22f10463bfbf744ad95da4f7e9f9.tar.gz
rspamd-ab72e301244e22f10463bfbf744ad95da4f7e9f9.zip
[Minor] Use consistent brace style for blocks (1tbs)
Diffstat (limited to 'interface/js/app/symbols.js')
-rw-r--r--interface/js/app/symbols.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js
index 71d577617..237a10d6a 100644
--- a/interface/js/app/symbols.js
+++ b/interface/js/app/symbols.js
@@ -52,8 +52,7 @@ define(["jquery", "footable"],
data: JSON.stringify(values),
dataType: "json",
});
- }
- else {
+ } else {
$.ajax({
data: JSON.stringify(values),
dataType: "json",
@@ -148,8 +147,7 @@ define(["jquery", "footable"],
if (exp > 0) {
item.frequency = item.frequency.toFixed(2) + "e-" + exp;
- }
- else {
+ } else {
item.frequency = item.frequency.toFixed(2);
}
});