mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Fix discussion composer title field not focusing editor on 'enter'
This commit is contained in:
parent
474a7db6a5
commit
bda1a66abb
|
@ -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>
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user