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.
pull/749/head
lilia 10 years ago
parent 5e064db28f
commit 0463e385e8

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

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

Loading…
Cancel
Save