summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorfiredranzer <rupeshharode@gmail.com>2018-03-07 14:26:14 +0530
committerfiredranzer <rupeshharode@gmail.com>2018-03-07 14:26:14 +0530
commitba09e88aec9b90638db7876dbcfbfadc2f0b3fbf (patch)
tree21485154669182031684c1c2e11c985c3b29d2da /interface
parent46334417c2915535c802727abf0abc12b1dda705 (diff)
downloadrspamd-ba09e88aec9b90638db7876dbcfbfadc2f0b3fbf.tar.gz
rspamd-ba09e88aec9b90638db7876dbcfbfadc2f0b3fbf.zip
fixes variable condition
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/config.js b/interface/js/app/config.js
index ec36dce48..4346dee45 100644
--- a/interface/js/app/config.js
+++ b/interface/js/app/config.js
@@ -228,7 +228,7 @@ function($) {
else if(eltsArray[2]<0){
rspamd.alertMessage('alert-modal alert-error', 'Greylist can not be negative');
}
- else if(eltsArray[2]<eltsArray[1]<eltsArray[0]){
+ else if(eltsArray[2]<eltsArray[1] && eltsArray[1]<eltsArray[0]){
callback('saveactions', null, null, "POST", {}, {
data: elts,
dataType: "json",