mirror of https://github.com/vector-im/riot-web
Correct order of buttons in CreateGroupDialog
We can't use DialogButtons because the primary button is an <input> element.pull/21833/head
parent
c863dbfc76
commit
aecb4650bc
|
@ -159,10 +159,10 @@ export default React.createClass({
|
|||
{ createErrorNode }
|
||||
</div>
|
||||
<div className="mx_Dialog_buttons">
|
||||
<input type="submit" value={_t('Create')} className="mx_Dialog_primary" />
|
||||
<button onClick={this._onCancel}>
|
||||
{ _t("Cancel") }
|
||||
</button>
|
||||
<input type="submit" value={_t('Create')} className="mx_Dialog_primary" />
|
||||
</div>
|
||||
</form>
|
||||
</BaseDialog>
|
||||
|
|
Loading…
Reference in New Issue