mirror of
https://github.com/flarum/core.git
synced 2025-08-06 00:17:31 +02:00
Fix composer on mobile, scroll to new reply
This commit is contained in:
@@ -46,6 +46,7 @@ export default Ember.Controller.extend(Ember.Evented, UseComposerMixin, {
|
||||
// stream.
|
||||
if (discussion == controller.get('model') && stream) {
|
||||
stream.addPostToEnd(post);
|
||||
controller.transitionToRoute({queryParams: {start: post.get('number')}});
|
||||
} else {
|
||||
// Otherwise, we'll create an alert message to inform the user
|
||||
// that their reply has been posted, containing a button which
|
||||
|
Reference in New Issue
Block a user