File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 < link rel ="stylesheet " type ="text/css " href ="../style.css ">
1010 < link rel ="stylesheet " type ="text/css " href ="equations.css ">
1111 < link rel ="icon " type ="image/x-icon " href ="../assets/ico/favicon.ico ">
12+ <!-- MathJax-script loaded dynamically by equations.js -->
1213</ head >
1314
1415< body >
Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ function setup() {
6363 cards [ i ] . append ( title , innerContainer ) ;
6464 }
6565 }
66- }
6766
68- // load MathJax after all
69- let mathjax = document . createElement ( 'script' ) ;
70- mathjax . id = "MathJax-script" ;
71- mathjax . src = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js' ;
72- mathjaxsetAttribute ( 'async' , '' ) ;
73- document . head . appendChild ( mathjax ) ;
67+ // load MathJax after all
68+ let mathjax = document . createElement ( 'script' ) ;
69+ mathjax . id = "MathJax-script" ;
70+ mathjax . src = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" ;
71+ mathjax . defer = true ;
72+ document . head . appendChild ( mathjax ) ;
73+ }
You can’t perform that action at this time.
0 commit comments