Fix bug where switching composer component would lead to incorrect rendering

This commit is contained in:
Toby Zerner 2015-06-01 08:49:23 +09:30
parent 0b1ff22168
commit 78efdc1d09

View File

@ -133,8 +133,6 @@ class Composer extends Component {
}
render(anchorToBottom) {
if (this.position() === this.oldPosition) { this.component.focus(); return; }
var $composer = this.$().stop(true);
var oldHeight = $composer.is(':visible') ? $composer.outerHeight() : 0;