1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 18:21:33 +02:00

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;