From 0bd0af1dadcf4401bae855e6cea2b48230114ba3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 18 Dec 2017 22:31:57 +0100 Subject: ok yes --- public/assets/js/lib/views/details/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3-70-g09d2