Change != to !== where it's better suited

This commit is contained in:
Fuzzlemann 2017-07-30 01:13:03 +02:00
parent bb9fbaa76e
commit e410f4eb05
2 changed files with 4 additions and 3 deletions

View File

@ -51,6 +51,7 @@ public class SeriesCreator {
arrayBuilder.append(",");
}
}
arrayBuilder.append("]");
return arrayBuilder.toString();
}

View File

@ -1228,13 +1228,13 @@
var dm = Math.floor(seconds / 60);
seconds -= (dm * 60);
seconds = Math.floor(seconds);
if (dd != 0) {
if (dd !== 0) {
out += dd.toString() + "d ";
}
if (dh != 0) {
if (dh !== 0) {
out += dh.toString() + "h ";
}
if (dm != 0) {
if (dm !== 0) {
out += dm.toString() + "m ";
}
out += seconds.toString() + "s ";