remove parseInts

This commit is contained in:
Barış Soner Uşaklı
2018-10-25 17:02:59 -04:00
parent aca50f1fe1
commit f3a679e268
42 changed files with 103 additions and 137 deletions

View File

@@ -223,7 +223,7 @@ module.exports = function (Topics) {
tidsByFilter.watched.push(topic.tid);
}
if (parseInt(topic.postcount, 10) <= 1) {
if (topic.postcount <= 1) {
counts.unreplied += 1;
tidsByFilter.unreplied.push(topic.tid);
}