summaryrefslogtreecommitdiff
path: root/public/assets
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-18 22:31:57 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-18 22:31:57 +0100
commit0bd0af1dadcf4401bae855e6cea2b48230114ba3 (patch)
treeec6e079ed64d79fbe4b89c2f6f4f72667554fe47 /public/assets
parentcfb6b2697f19d77e369e132accdd2cadc9fb9c29 (diff)
ok yes
Diffstat (limited to 'public/assets')
-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)
}