From cfb6b2697f19d77e369e132accdd2cadc9fb9c29 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 18 Dec 2017 22:30:17 +0100 Subject: hootbox --- public/assets/js/lib/views/details/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/assets/js') diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index ad43939..2751359 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(a.date, b.date)) + .sort((a,b) => return cmp(b.date, a.date)) .forEach(this.prependComment.bind(this)) this.$el.prepend(this.$formRow) } -- cgit v1.2.3-70-g09d2