diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-18 22:30:17 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-18 22:30:17 +0100 |
| commit | cfb6b2697f19d77e369e132accdd2cadc9fb9c29 (patch) | |
| tree | d469a180239178242b5b5fde838534bf7c4e9486 | |
| parent | 7d98cdd9b8ed903a2349d5ab5cd152892c476a68 (diff) | |
hootbox
| -rw-r--r-- | public/assets/js/lib/views/details/comments.js | 2 |
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 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) } |
