Remove uneeded render

This is an artifact of a time when conversation elements would pop in
and out of the dom at a moment's notice, and thus needed to rebind their
event listeners regularly.
This commit is contained in:
lilia 2015-02-11 23:53:50 -08:00
parent 5e064db28f
commit 0463e385e8
2 changed files with 1 additions and 8 deletions

View file

@ -25,6 +25,6 @@
window.document.title = conversation.getTitle();
new Whisper.ConversationView({
model: conversation
}).render().$el.prependTo($('body'));
}).$el.prependTo($('body'));
});
}());

View file

@ -96,13 +96,6 @@
$('body').toggleClass('settings-open');
console.log('toggling');
debugger;
},
render: function() {
this.delegateEvents();
this.view.delegateEvents();
this.view.scrollToBottom();
return this;
}
});
})();