Removing default focus on "Discard edits" in the AbandonEditDialog
Bug: T249880 Change-Id: Ib48506a1debf259e4bd23ed1801fbc6c715219a0
This commit is contained in:
parent
bb96ca7925
commit
f7e66d1305
1 changed files with 2 additions and 2 deletions
|
|
@ -34,6 +34,6 @@ mw.widgets.AbandonEditDialog.static.message =
|
|||
OO.ui.deferMsg( 'mw-widgets-abandonedit' );
|
||||
|
||||
mw.widgets.AbandonEditDialog.static.actions = [
|
||||
{ action: 'discard', label: OO.ui.deferMsg( 'mw-widgets-abandonedit-discard' ), flags: [ 'primary', 'destructive' ] },
|
||||
{ action: 'keep', label: OO.ui.deferMsg( 'mw-widgets-abandonedit-keep' ), flags: 'safe' }
|
||||
{ action: 'discard', label: OO.ui.deferMsg( 'mw-widgets-abandonedit-discard' ), flags: 'destructive' },
|
||||
{ action: 'keep', label: OO.ui.deferMsg( 'mw-widgets-abandonedit-keep' ), flags: [ 'primary', 'safe' ] }
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue