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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2266%2Fhead;p=thirdparty%2Frspamd.git Don't mark "neutral" symbol weights as negative --- diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js index b1745abf0c..cc38cacfc1 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 = '