Skip to content

Commit

Permalink
Async load of mathjax javascript
Browse files Browse the repository at this point in the history
Use async keyword to prevent page load waiting.
  • Loading branch information
samtygier committed Oct 25, 2017
1 parent 57e69ba commit 340e516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htmlgen.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 340e516

Please sign in to comment.