File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 96
96
var json = JSON . parse ( request . responseText ) ;
97
97
if ( json instanceof Array ) json = json [ 0 ] ;
98
98
var version = json [ cdn . version ] ;
99
- if ( version . substr ( 0 , 1 ) === '2' ) {
99
+ if ( version . substr ( 0 , 2 ) === '2. ' ) {
100
100
setVersion ( version ) ;
101
101
loadMathJax ( cdn . mathjax + json [ cdn . version ] + unpacked + '/MathJax.js' + config ) ;
102
102
return ;
Original file line number Diff line number Diff line change 96
96
var json = JSON . parse ( request . responseText ) ;
97
97
if ( json instanceof Array ) json = json [ 0 ] ;
98
98
var version = json [ cdn . version ] ;
99
- if ( version . substr ( 0 , 1 ) === '2' ) {
99
+ if ( version . substr ( 0 , 2 ) === '2. ' ) {
100
100
setVersion ( version ) ;
101
101
loadMathJax ( cdn . mathjax + json [ cdn . version ] + unpacked + '/MathJax.js' + config ) ;
102
102
return ;
You can’t perform that action at this time.
0 commit comments