mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Don't assume commandGroup has a demote property set
Bug: T203282 Change-Id: Ic67dcfb2a473559d5e5d457072cda101844fe1e9
This commit is contained in:
parent
b958cfbe38
commit
222ad828bd
|
@ -183,6 +183,7 @@ ve.ui.commandRegistry.register(
|
|||
trigger: shortcut.command,
|
||||
label: shortcut.label
|
||||
} );
|
||||
ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote = ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote || [];
|
||||
ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote.push( shortcut.command );
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue