Permalink
Browse files

Async load of mathjax javascript

Use async keyword to prevent page load waiting.
  • Loading branch information...
samtygier committed Oct 25, 2017
1 parent 57e69ba commit 340e516dbf5efd3ae21d964e92369e97b252e4ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/htmlgen.cpp
View
@@ -375,7 +375,7 @@ static QCString substituteHtmlKeywords(const QCString &s,
mathJaxJs += "\n";
}
mathJaxJs += "</script>";
mathJaxJs += "<script type=\"text/javascript\" src=\"" + path + "MathJax.js\"></script>\n";
mathJaxJs += "<script type=\"text/javascript\" async src=\"" + path + "MathJax.js\"></script>\n";
}
// first substitute generic keywords

0 comments on commit 340e516

Please sign in to comment.