Specify iconWhenInvisible for math/chem nodes

Bug: T166526
Change-Id: I42703d15fa7e491d85d01899c706dbca4e5816b6
This commit is contained in:
Ed Sanders 2017-06-07 22:41:16 +01:00
parent f4c9284cbc
commit 742afcdb8b
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ ve.ce.MWChemNode.static.name = 'mwChem';
ve.ce.MWChemNode.static.primaryCommandName = 'chemDialog';
ve.ce.MWChemNode.static.iconWhenInvisible = 'chem';
/* Registration */
ve.ce.nodeFactory.register( ve.ce.MWChemNode );

View File

@ -30,6 +30,8 @@ ve.ce.MWMathNode.static.name = 'mwMath';
ve.ce.MWMathNode.static.primaryCommandName = 'mathDialog';
ve.ce.MWMathNode.static.iconWhenInvisible = 'math';
/* Registration */
ve.ce.nodeFactory.register( ve.ce.MWMathNode );