mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Use target-specific command registry for lookup
Only use was in MWHelpPopupTool#onKeyboardShortcutsClick. Depends on Ie24369b9 in core. Change-Id: I630d3e55057ddf6f87e39ab2e99e93a71bd1d8bb
This commit is contained in:
parent
dedc107507
commit
022fa98856
|
@ -221,7 +221,7 @@ ve.ui.MWHelpPopupTool.prototype.onFeedbackClick = function () {
|
|||
*/
|
||||
ve.ui.MWHelpPopupTool.prototype.onKeyboardShortcutsClick = function () {
|
||||
this.popup.toggle( false );
|
||||
ve.ui.commandRegistry.lookup( 'commandHelp' ).execute( this.toolbar.getSurface() );
|
||||
ve.init.target.commandRegistry.lookup( 'commandHelp' ).execute( this.toolbar.getSurface() );
|
||||
};
|
||||
|
||||
/* Registration */
|
||||
|
|
Loading…
Reference in a new issue