diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-18 22:31:57 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-18 22:31:57 +0100 |
| commit | 0bd0af1dadcf4401bae855e6cea2b48230114ba3 (patch) | |
| tree | ec6e079ed64d79fbe4b89c2f6f4f72667554fe47 /public/assets | |
| parent | cfb6b2697f19d77e369e132accdd2cadc9fb9c29 (diff) | |
ok yes
Diffstat (limited to 'public/assets')
| -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 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) } |
