Browse files

Sticking missing empty string back into reducer.

  • Loading branch information...
1 parent 4dd040b commit 0c0dbc670c471a30a619951469df4ddb6852b5e7 @knowtheory knowtheory committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/javascripts/DV/backbone/views/comment_list.js
View
2 public/javascripts/DV/backbone/views/comment_list.js
@@ -16,7 +16,7 @@ DV.backbone.view.CommentList = Backbone.View.extend({
render: function() {
DV.jQuery(this.el).html( JST['comment_list']({
- commentItems: this.collection.reduce(function(html, comment){ return html += JST['comment_item']({comment:comment}); })
+ commentItems: this.collection.reduce(function(html, comment){ return html += JST['comment_item']({comment:comment}); }, '')
}));
},

0 comments on commit 0c0dbc6

Please sign in to comment.