##// END OF EJS Templates
Adding logic to look for CDN version of MathJax and fallback to local.
Brian Granger -
Show More
@@ -12,8 +12,13 b''
12 12 <!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> -->
13 13 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
14 14
15 <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script> -->
16 <script type="text/javascript" src="static/mathjax/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
15 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
16 <script type="text/javascript">
17 if (typeof MathJax == 'undefined') {
18 console.log("Trying to load local copy of MathJax");
19 document.write(unescape("%3Cscript type='text/javascript' src='static/mathjax/MathJax.js%3Fconfig=TeX-AMS_HTML' charset='utf-8'%3E%3C/script%3E"));
20 }
21 </script>
17 22
18 23 </head>
19 24
General Comments 0
You need to be logged in to leave comments. Login now