Fix spelling of 'protocol'. Issue #1519.

This commit is contained in:
Davide P. Cervone 2016-06-15 15:45:01 -04:00
parent 6e3b6716f8
commit 30990c4ab8

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 = {