fix: #37; correct case for auto* in LoginView

This commit is contained in:
or-else
2019-09-02 18:49:31 +03:00
parent 6f359be64d
commit 41ebf3c705
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ export default class LoginView extends React.Component {
(login_prompt) => <input type="text" id="inputLogin" (login_prompt) => <input type="text" id="inputLogin"
placeholder={login_prompt} placeholder={login_prompt}
autoComplete="username" autoComplete="username"
autocorrect="off" autoCorrect="off"
autocapitalize="none" autoCapitalize="none"
value={this.state.login} value={this.state.login}
onChange={this.handleLoginChange} onChange={this.handleLoginChange}
required autoFocus /> required autoFocus />
+3 -3
View File
@@ -2355,7 +2355,7 @@
s = r.seq, r.seq = Math.max(r.seq, n), (!r.touched || r.touched < i) && (r.touched = i), o = s != r.seq; s = r.seq, r.seq = Math.max(r.seq, n), (!r.touched || r.touched < i) && (r.touched = i), o = s != r.seq;
} }
r.recv < r.read && (r.recv = r.read, o = !0), r.seq < r.recv && (r.seq = r.recv, o = !0), r.unread = r.seq - r.read, !o || r.acs && r.acs.isMuted() || !this.onContactUpdate || this.onContactUpdate(t, r); r.recv < r.read && (r.recv = r.read, o = !0), r.seq < r.recv && (r.seq = r.recv, (!r.touched || r.touched < i) && (r.touched = i), o = !0), r.unread = r.seq - r.read, !o || r.acs && r.acs.isMuted() || !this.onContactUpdate || this.onContactUpdate(t, r);
} }
}, },
enumerable: !0, enumerable: !0,
@@ -5062,8 +5062,8 @@ var LoginView = function (_React$Component) {
id: "inputLogin", id: "inputLogin",
placeholder: login_prompt, placeholder: login_prompt,
autoComplete: "username", autoComplete: "username",
autocorrect: "off", autoCorrect: "off",
autocapitalize: "none", autoCapitalize: "none",
value: _this2.state.login, value: _this2.state.login,
onChange: _this2.handleLoginChange, onChange: _this2.handleLoginChange,
required: true, required: true,
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long