mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Merge "Use new executeCommand method"
This commit is contained in:
commit
e00af78d9a
|
@ -55,8 +55,7 @@ ve.ui.MWMathContextItem.static.commandName = 'mathDialog';
|
|||
* Handle inline edit button click events.
|
||||
*/
|
||||
ve.ui.MWMathContextItem.prototype.onInlineEditButtonClick = function () {
|
||||
var command = ve.init.target.commandRegistry.lookup( 'mathInspector' );
|
||||
command.execute( this.context.getSurface() );
|
||||
this.context.getSurface().executeComamnd( 'mathInspector' );
|
||||
};
|
||||
|
||||
/* Registration */
|
||||
|
|
Loading…
Reference in a new issue