aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Menzel <mail@mcl.gg>2018-05-25 15:41:47 +0200
committerGitHub <noreply@github.com>2018-05-25 15:41:47 +0200
commitd2b27609b75a1320520d4e84dabc07d602a09bb0 (patch)
treef5558f8808b470da2265842911222bee9a1c1764
parent2f08a47d852a3cfb75d27a82d65f7dbf77cbc8bd (diff)
downloadrspamd-d2b27609b75a1320520d4e84dabc07d602a09bb0.tar.gz
rspamd-d2b27609b75a1320520d4e84dabc07d602a09bb0.zip
Don't mark "neutral" symbol weights as negative
-rw-r--r--interface/js/app/symbols.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js
index b1745abf0..cc38cacfc 100644
--- a/interface/js/app/symbols.js
+++ b/interface/js/app/symbols.js
@@ -97,7 +97,7 @@ function($) {
var label_class = '';
if (item.weight < 0) {
label_class = 'scorebar-ham';
- } else {
+ } else if (item.weight > 0) {
label_class = 'scorebar-spam';
}
item.weight = '<input class="form-control input-sm mb-disabled ' + label_class +