diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-13 12:56:06 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-13 12:56:06 +0300 |
commit | 4cb2f29f620ed78a739380d9edac4db7d2c1e1b0 (patch) | |
tree | 54423bcc62eb20651e692965998ad88a0d35fc3c /interface | |
parent | db8e9f228fd212f8dd38bfe3de9f790c00e2452c (diff) | |
download | rspamd-4cb2f29f620ed78a739380d9edac4db7d2c1e1b0.tar.gz rspamd-4cb2f29f620ed78a739380d9edac4db7d2c1e1b0.zip |
[WebUI] Avoid unused indexes
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/symbols.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index 928933739..71d577617 100644 --- a/interface/js/app/symbols.js +++ b/interface/js/app/symbols.js @@ -86,8 +86,8 @@ define(["jquery", "footable"], var freqs = []; var distinct_groups = []; - $.each(data, function (i, group) { - $.each(group.rules, function (i, item) { + data.forEach(function (group) { + group.rules.forEach(function (item) { var max = 20; var min = -20; if (item.weight > max) { |