Correct order of buttons in CreateGroupDialog

We can't use DialogButtons because the primary button is an <input> element.
pull/21833/head
Aidan Gauland 2017-12-23 13:56:04 +13:00
parent c863dbfc76
commit aecb4650bc
1 changed files with 1 additions and 1 deletions

View File

@ -159,10 +159,10 @@ export default React.createClass({
{ createErrorNode } { createErrorNode }
</div> </div>
<div className="mx_Dialog_buttons"> <div className="mx_Dialog_buttons">
<input type="submit" value={_t('Create')} className="mx_Dialog_primary" />
<button onClick={this._onCancel}> <button onClick={this._onCancel}>
{ _t("Cancel") } { _t("Cancel") }
</button> </button>
<input type="submit" value={_t('Create')} className="mx_Dialog_primary" />
</div> </div>
</form> </form>
</BaseDialog> </BaseDialog>