summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/js/lib/views/details/comments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js
index 2751359..8894676 100644
--- a/public/assets/js/lib/views/details/comments.js
+++ b/public/assets/js/lib/views/details/comments.js
@@ -17,7 +17,7 @@ var CommentsView = FormView.extend({
load: function(comments, thread){
if (thread.settings.hootbox) {
comments
- .sort((a,b) => return cmp(b.date, a.date))
+ .sort((a,b) => cmp(a.date, b.date))
.forEach(this.prependComment.bind(this))
this.$el.prepend(this.$formRow)
}