mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:00:55 +08:00
Fix discussion composer title field not focusing editor on 'enter'
This commit is contained in:
parent
0cb3378658
commit
a7baab8a86
@ -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…
x
Reference in New Issue
Block a user