Merge pull request #1527 from dpvc/issue1519

Fix spelling of 'protocol'.  Issue #1519.
This commit is contained in:
Davide P. Cervone 2016-06-16 08:28:38 -04:00 committed by GitHub
commit 7523687f4c

View File

@ -659,7 +659,7 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
var PATH = {};
PATH[BASENAME] = ""; // empty path gets the root URL
PATH.Contrib = (String(location.protocal).match(/^https?:/) ? "" : "http:") +
PATH.Contrib = (String(location.protocol).match(/^https?:/) ? "" : "http:") +
"//cdn.mathjax.org/mathjax/contrib"; // the third-party extensions
BASE.Ajax = {