mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Auto-focus username box
This commit is contained in:
parent
a670a7e4c4
commit
28908c2edb
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module.exports = React.createClass({displayName: 'PasswordLogin',
|
|||
<form onSubmit={this.onSubmitForm}>
|
||||
<input className="mx_Login_field" ref="user" type="text"
|
||||
value={this.state.username} onChange={this.onUsernameChanged}
|
||||
placeholder="Email or user name" />
|
||||
placeholder="Email or user name" autoFocus />
|
||||
<br />
|
||||
<input className="mx_Login_field" ref="pass" type="password"
|
||||
value={this.state.password} onChange={this.onPasswordChanged}
|
||||
|
|
Loading…
Reference in a new issue