We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7a435 commit 126a16fCopy full SHA for 126a16f
1 file changed
src/main/resources/public/assets/js/pulse/pulse.js
@@ -150,7 +150,7 @@ console.log(riskColorClasses);
150
console.log('loop');
151
console.log(risk < r.threshold[0]);
152
console.log(risk >= r.threshold[1]);
153
- if (risk < r.threshold[0] && risk >= r.threshold[1]) {
+ if (r.threshold[0] <= risk && risk <= r.threshold[1]) {
154
colorclass = r.classname;
155
}
156
});
0 commit comments