summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/js/lib/views/details/comments.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js
index 085873e..688750c 100644
--- a/public/assets/js/lib/views/details/comments.js
+++ b/public/assets/js/lib/views/details/comments.js
@@ -21,11 +21,16 @@ var CommentsView = FormView.extend({
.forEach(this.prependComment.bind(this))
this.$el.prepend(this.$formRow)
}
- else {
+ else if (thread.id < 4125) {
comments
.sort((a,b) => cmp(a.date, b.date))
.forEach(this.appendComment.bind(this))
}
+ else {
+ comments
+ .sort((a,b) => cmp(a.id, b.id))
+ .forEach(this.appendComment.bind(this))
+ }
},
parse: function(comment){