Follow-up 75db3ed9: Also fall back to symbol.insert in MWMathPage

Bug: T157751
Change-Id: Ia0d40c70f52f41eb07dcbe121437379419b861b3
This commit is contained in:
James D. Forrester 2017-02-09 17:46:53 -08:00
parent 75db3ed9fe
commit 4a06cdf728
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {