Simplify composer animation

This commit is contained in:
Toby Zerner 2015-06-18 12:53:19 +09:30
parent e6c3ace0e7
commit ee46d284c9

View File

@ -168,7 +168,7 @@ class Composer extends Component {
if (this.position() !== Composer.PositionEnum.FULLSCREEN) {
this.updateBodyPadding();
$('html, body').scrollTop(anchorToBottom ? $(document).height() : scrollTop);
$('html, body').scrollTop(scrollTop);
} else {
this.component.focus();
}