Cull some easily fixable errors which make the console a mess

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2019-10-03 21:47:19 +01:00
parent 359d2fee5f
commit a0de7d5f14
15 changed files with 16 additions and 25 deletions
@@ -319,7 +319,7 @@ export const TermsAuthEntry = createReactClass({
checkboxes.push(
<label key={"policy_checkbox_" + policy.id} className="mx_InteractiveAuthEntryComponents_termsPolicy">
<input type="checkbox" onClick={() => this._togglePolicy(policy.id)} checked={checked} />
<input type="checkbox" onChange={() => this._togglePolicy(policy.id)} checked={checked} />
<a href={policy.url} target="_blank" rel="noopener">{ policy.name }</a>
</label>,
);
@@ -104,7 +104,7 @@ export default class ModularServerConfig extends ServerConfig {
</a>,
},
)}
<form onSubmit={this.onSubmit} autoComplete={false} action={null}>
<form onSubmit={this.onSubmit} autoComplete="off" action={null}>
<div className="mx_ServerConfig_fields">
<Field id="mx_ServerConfig_hsUrl"
label={_t("Server Name")}
+1 -1
View File
@@ -279,7 +279,7 @@ export default class ServerConfig extends React.PureComponent {
{errorText}
{this._renderHomeserverSection()}
{this._renderIdentityServerSection()}
<form onSubmit={this.onSubmit} autoComplete={false} action={null}>
<form onSubmit={this.onSubmit} autoComplete="off" action={null}>
{submitButton}
</form>
</div>