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 d33bac533d
commit f8d681d9ab

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;