Cull some easily fixable errors which make the console a mess
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
359d2fee5f
commit
a0de7d5f14
15 changed files with 16 additions and 25 deletions
|
@ -81,7 +81,7 @@ export default class DevicesPanelEntry extends React.Component {
|
|||
{ lastSeen }
|
||||
</div>
|
||||
<div className="mx_DevicesPanel_deviceButtons">
|
||||
<input type="checkbox" onClick={this.onDeviceToggled} checked={this.props.selected} />
|
||||
<input type="checkbox" onChange={this.onDeviceToggled} checked={this.props.selected} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -155,7 +155,7 @@ export default class ProfileSettings extends React.Component {
|
|||
}
|
||||
|
||||
return (
|
||||
<form onSubmit={this._saveProfile} autoComplete={false} noValidate={true}>
|
||||
<form onSubmit={this._saveProfile} autoComplete="off" noValidate={true}>
|
||||
<input type="file" ref="avatarUpload" className="mx_ProfileSettings_avatarUpload"
|
||||
onChange={this._onAvatarChanged} accept="image/*" />
|
||||
<div className="mx_ProfileSettings_profile">
|
||||
|
|
|
@ -229,7 +229,7 @@ export default class EmailAddresses extends React.Component {
|
|||
return (
|
||||
<div className="mx_EmailAddresses">
|
||||
{existingEmailElements}
|
||||
<form onSubmit={this._onAddClick} autoComplete={false}
|
||||
<form onSubmit={this._onAddClick} autoComplete="off"
|
||||
noValidate={true} className="mx_EmailAddresses_new">
|
||||
<Field id="mx_EmailAddressses_newEmailAddress"
|
||||
type="text"
|
||||
|
|
|
@ -231,7 +231,7 @@ export default class PhoneNumbers extends React.Component {
|
|||
<br />
|
||||
{this.state.verifyError}
|
||||
</div>
|
||||
<form onSubmit={this._onContinueClick} autoComplete={false} noValidate={true}>
|
||||
<form onSubmit={this._onContinueClick} autoComplete="off" noValidate={true}>
|
||||
<Field id="mx_PhoneNumbers_newPhoneNumberCode"
|
||||
type="text"
|
||||
label={_t("Verification code")}
|
||||
|
@ -260,8 +260,7 @@ export default class PhoneNumbers extends React.Component {
|
|||
return (
|
||||
<div className="mx_PhoneNumbers">
|
||||
{existingPhoneElements}
|
||||
<form onSubmit={this._onAddClick} autoComplete={false}
|
||||
noValidate={true} className="mx_PhoneNumbers_new">
|
||||
<form onSubmit={this._onAddClick} autoComplete="off" noValidate={true} className="mx_PhoneNumbers_new">
|
||||
<div className="mx_PhoneNumbers_input">
|
||||
<Field id="mx_PhoneNumbers_newPhoneNumber"
|
||||
type="text"
|
||||
|
|
|
@ -207,11 +207,7 @@ export class PhoneNumber extends React.Component {
|
|||
<br />
|
||||
{this.state.verifyError}
|
||||
</span>
|
||||
<form
|
||||
onSubmit={this.onContinueClick}
|
||||
autoComplete={false}
|
||||
noValidate={true}
|
||||
>
|
||||
<form onSubmit={this.onContinueClick} autoComplete="off" noValidate={true}>
|
||||
<Field id="mx_PhoneNumbers_newPhoneNumberCode"
|
||||
type="text"
|
||||
label={_t("Verification code")}
|
||||
|
|
|
@ -156,7 +156,7 @@ export default class NotificationsSettingsTab extends React.Component {
|
|||
</div>
|
||||
<div>
|
||||
<h3>{_t("Set a new custom sound")}</h3>
|
||||
<form autoComplete={false} noValidate={true}>
|
||||
<form autoComplete="off" noValidate={true}>
|
||||
<input ref="soundUpload" className="mx_NotificationSound_soundUpload" type="file" onChange={this._onSoundUploadChanged.bind(this)} accept="audio/*" />
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue