From 1b32cd95d9c3ec7c300267e27e3d45aa1e63ea51 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 14 Jun 2016 13:58:34 -0400 Subject: [PATCH] Add Contrib to the Ajax paths. Resolves issue #1519. --- unpacked/MathJax.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js index c5f456373..331f0900b 100644 --- a/unpacked/MathJax.js +++ b/unpacked/MathJax.js @@ -659,6 +659,8 @@ 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:") + + "//cdn.mathjax.org/mathjax/contrib"; // the third-party extensions BASE.Ajax = { loaded: {}, // files already loaded