Fix discussion composer title field not focusing editor on 'enter'

This commit is contained in:
Toby Zerner 2015-07-22 09:49:25 +09:30
parent 474a7db6a5
commit bda1a66abb

View File

@ -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>
));