mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Merge "Don't assume commandGroup has a demote property set"
This commit is contained in:
commit
4914787e62
|
@ -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