mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 17:14:42 +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,
|
trigger: shortcut.command,
|
||||||
label: shortcut.label
|
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 );
|
ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote.push( shortcut.command );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue