mirror of
https://github.com/flarum/framework.git
synced 2025-05-29 19:49:36 +08:00
Fix discussion composer title field not focusing editor on 'enter'
This commit is contained in:
@ -42,7 +42,7 @@ export default class DiscussionComposer extends ComposerBody {
|
||||
oninput={m.withAttr('value', this.title)}
|
||||
placeholder={this.props.titlePlaceholder}
|
||||
disabled={!!this.props.disabled}
|
||||
onkeydown={this.onkeydown}/>
|
||||
onkeydown={this.onkeydown.bind(this)}/>
|
||||
</h3>
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user