Node.js based forum software built for the modern web
refactor: shorter check
Barış Soner Uşaklıb0f2feadf489
diff --git a/public/src/modules/helpers.common.js b/public/src/modules/helpers.common.jsindex a33e7af8c7..6a09a32869 100644--- a/public/src/modules/helpers.common.js+++ b/public/src/modules/helpers.common.js@@ -374,11 +374,7 @@ module.exports = function (utils, Benchpress, relative_path) {}function shouldHideReplyContainer(post) {- if (post.replies.count <= 0 || post.replies.hasSingleImmediateReply) {- return true;- }-- return false;+ return post.replies.count <= 0 || post.replies.hasSingleImmediateReply;}function humanReadableNumber(number, toFixed = 1) {