mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 18:29:39 +00:00
Follow-up 75db3ed9
: Also fall back to symbol.insert in MWMathPage
Bug: T157751 Change-Id: Ia0d40c70f52f41eb07dcbe121437379419b861b3
This commit is contained in:
parent
75db3ed9fe
commit
4a06cdf728
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue