From 7aa906b46359fdb609206c1db3014b7b0aaaad39 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Wed, 14 Mar 2012 11:16:25 -0700 Subject: [PATCH] make setupBinds make even more sense --- public/javascripts/app/views/comment_stream_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/app/views/comment_stream_view.js b/public/javascripts/app/views/comment_stream_view.js index 5ab537e74..5c756753b 100644 --- a/public/javascripts/app/views/comment_stream_view.js +++ b/public/javascripts/app/views/comment_stream_view.js @@ -11,13 +11,13 @@ app.views.CommentStream = app.views.Base.extend({ }, initialize: function(options) { - this.model.comments.bind('add', this.appendComment, this); this.commentTemplate = options.commentTemplate; this.setupBindings(); }, setupBindings: function() { + this.model.comments.bind('add', this.appendComment, this); this.model.bind("commentsExpanded", this.render, this); },