diff options
author | Sam Tygier <samtygier@yahoo.co.uk> | 2017-10-25 20:01:49 (GMT) |
---|---|---|
committer | Sam Tygier <samtygier@yahoo.co.uk> | 2017-10-25 20:01:49 (GMT) |
commit | 340e516dbf5efd3ae21d964e92369e97b252e4ab (patch) | |
tree | 7fb4df14c0b13689311560ea3e6426469f56b1eb | |
parent | 57e69ba26eff5eac4b31b088cd7d3dfa7532f12c (diff) | |
download | Doxygen-340e516dbf5efd3ae21d964e92369e97b252e4ab.zip Doxygen-340e516dbf5efd3ae21d964e92369e97b252e4ab.tar.gz Doxygen-340e516dbf5efd3ae21d964e92369e97b252e4ab.tar.bz2 |
Async load of mathjax javascript
Use async keyword to prevent page load waiting.
-rw-r--r-- | src/htmlgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index f80eb43..e576059 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -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 |