diff options
author | moisseev <moiseev@mezonplus.ru> | 2023-11-20 14:00:56 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2023-11-20 14:00:56 +0300 |
commit | 5667878f06839c25fd6867d7ec3ef5b22bdccf84 (patch) | |
tree | fa65a385ffe9463ea45498dcd1d69d704623c559 /interface/js/app/symbols.js | |
parent | 01d048664f1e5e164babd718a088c36e2bd10e7c (diff) | |
download | rspamd-5667878f06839c25fd6867d7ec3ef5b22bdccf84.tar.gz rspamd-5667878f06839c25fd6867d7ec3ef5b22bdccf84.zip |
[Minor] Use multiple variable declarations
Diffstat (limited to 'interface/js/app/symbols.js')
-rw-r--r-- | interface/js/app/symbols.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 7267d0ed9..ab6e8c101 100644 --- a/interface/js/app/symbols.js +++ b/interface/js/app/symbols.js @@ -154,7 +154,8 @@ define(["jquery", "app/rspamd", "footable"], }, $create: function () { this._super(); - const self = this, $form_grp = $("<div/>", { + const self = this; + const $form_grp = $("<div/>", { class: "form-group" }).append($("<label/>", { class: "sr-only", @@ -175,7 +176,8 @@ define(["jquery", "app/rspamd", "footable"], }); }, _onStatusDropdownChanged: function (e) { - const self = e.data.self, selected = $(this).val(); + const self = e.data.self; + const selected = $(this).val(); if (selected !== self.def) { self.addFilter("group", selected, ["group"]); } else { |