From: Marcel Menzel Date: Fri, 25 May 2018 13:41:47 +0000 (+0200) Subject: Don't mark "neutral" symbol weights as negative X-Git-Tag: 1.7.6~100^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2b27609b75a1320520d4e84dabc07d602a09bb0;p=rspamd.git Don't mark "neutral" symbol weights as negative --- 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 = '