From a182a9d332553ade5ac121b0563d695441672268 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 30 Nov 2016 12:39:59 +0000 Subject: [PATCH] Fix primary command name Primary command name is used by double click and enter. Make this launch the default edit action 'mathDialog'. Change-Id: Ie7a87914a55ecc87769c4a1aa029b36966b83a04 --- modules/ve-math/ve.ce.MWMathNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-math/ve.ce.MWMathNode.js b/modules/ve-math/ve.ce.MWMathNode.js index 4ad2689..3e59756 100644 --- a/modules/ve-math/ve.ce.MWMathNode.js +++ b/modules/ve-math/ve.ce.MWMathNode.js @@ -28,7 +28,7 @@ OO.inheritClass( ve.ce.MWMathNode, ve.ce.MWInlineExtensionNode ); ve.ce.MWMathNode.static.name = 'mwMath'; -ve.ce.MWMathNode.static.primaryCommandName = 'math'; +ve.ce.MWMathNode.static.primaryCommandName = 'mathDialog'; /* Methods */