Make the 'Accept' button for consent a little more friendly

Part of https://github.com/vector-im/riot-web/issues/7700
This commit is contained in:
Travis Ralston 2018-11-15 20:26:37 -07:00
parent c8b38606cc
commit 8916c90fed
4 changed files with 17 additions and 5 deletions

View file

@ -335,7 +335,7 @@ export const TermsAuthEntry = React.createClass({
if (!this.props.hideContinue) {
// XXX: button classes
submitButton = <button className="mx_InteractiveAuthEntryComponents_termsSubmit mx_UserSettings_button"
onClick={this._trySubmit}>{_t("Continue")}</button>;
onClick={this._trySubmit} disabled={!allChecked}>{_t("Accept")}</button>;
}
return (