aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/graph.js
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-11 10:36:59 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-11 10:36:59 +0300
commit04f05e07c0c96322834ce2926b2fef06cd692d36 (patch)
tree6e57c91882b13f382090a5b05e41e0635bef7922 /interface/js/app/graph.js
parentf3d41eeed678ccedc524a82a4f6e546614821fa4 (diff)
downloadrspamd-04f05e07c0c96322834ce2926b2fef06cd692d36.tar.gz
rspamd-04f05e07c0c96322834ce2926b2fef06cd692d36.zip
[WebUI] Use type-safe equality operators
Diffstat (limited to 'interface/js/app/graph.js')
-rw-r--r--interface/js/app/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js
index 6a63500fc..cce3c028c 100644
--- a/interface/js/app/graph.js
+++ b/interface/js/app/graph.js
@@ -189,7 +189,7 @@ define(["jquery", "d3evolution", "footable"],
}
graphs.graph.data(data);
- if (unit != prevUnit) {
+ if (unit !== prevUnit) {
graphs.graph.yAxisLabel("Message rate, " + unit);
prevUnit = unit;
}