mathjax.js 550 B

123456789101112
  1. // We wait for the onload function to load MathJax after the page is completely loaded.
  2. // MathJax is loaded 1 unit of time after the page is ready.
  3. // This hack prevent problems when you use social button from addthis.
  4. //
  5. window.onload = function () {
  6. setTimeout(function () {
  7. var script = document.createElement("script");
  8. script.type = "text/javascript";
  9. script.src = "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML";
  10. document.getElementsByTagName("body")[0].appendChild(script);
  11. },1)
  12. }