2019-04-03 22:29:36 +00:00
|
|
|
/* eslint-disable no-jquery/no-global-selector */
|
2018-11-12 16:14:43 +00:00
|
|
|
( function () {
|
2014-10-10 10:38:23 +00:00
|
|
|
'use strict';
|
2016-04-12 20:27:02 +00:00
|
|
|
|
2014-10-10 10:38:23 +00:00
|
|
|
// If MathPlayer is installed we show the MathML rendering.
|
2015-09-14 18:46:13 +00:00
|
|
|
if ( navigator.userAgent.indexOf( 'MathPlayer' ) > -1 ) {
|
2014-10-10 10:38:23 +00:00
|
|
|
$( '.mwe-math-mathml-a11y' ).removeClass( 'mwe-math-mathml-a11y' );
|
2014-10-12 09:26:57 +00:00
|
|
|
$( '.mwe-math-fallback-image-inline, .mwe-math-fallback-image-display' ).css( 'display', 'none' );
|
2014-10-10 19:25:42 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2018-11-12 16:14:43 +00:00
|
|
|
}() );
|