From 4a06cdf72861c9ced17a1acfc1bd0ac5773c446f Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 9 Feb 2017 17:46:53 -0800 Subject: [PATCH] Follow-up 75db3ed9: Also fall back to symbol.insert in MWMathPage Bug: T157751 Change-Id: Ia0d40c70f52f41eb07dcbe121437379419b861b3 --- modules/ve-math/ve.ui.MWMathPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-math/ve.ui.MWMathPage.js b/modules/ve-math/ve.ui.MWMathPage.js index 0639d11..dd2d87c 100644 --- a/modules/ve-math/ve.ui.MWMathPage.js +++ b/modules/ve-math/ve.ui.MWMathPage.js @@ -32,7 +32,7 @@ ve.ui.MWMathPage = function VeUiMWMathPage( name, config ) { for ( i = 0, ilen = symbols.length; i < ilen; i++ ) { symbol = symbols[ i ]; if ( !symbol.notWorking && !symbol.duplicate ) { - tex = symbol.tex; + tex = symbol.tex || symbol.insert; classes = [ 've-ui-mwMathPage-symbol' ]; classes.push( 've-ui-mwMathSymbol-' + tex.replace( /[^\w]/g, function ( c ) {