Skip to content

Commit 6e3b671

Browse files
authored
Merge pull request #1522 from dpvc/issue1519
Add Contrib to the Ajax paths. #1519
2 parents 97b9fbc + 1b32cd9 commit 6e3b671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unpacked/MathJax.js

+2
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,8 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
659659

660660
var PATH = {};
661661
PATH[BASENAME] = ""; // empty path gets the root URL
662+
PATH.Contrib = (String(location.protocal).match(/^https?:/) ? "" : "http:") +
663+
"//cdn.mathjax.org/mathjax/contrib"; // the third-party extensions
662664

663665
BASE.Ajax = {
664666
loaded: {}, // files already loaded

0 commit comments

Comments
 (0)