Skip to content

Commit e1810fe

Browse files
committed
Update Contrib to always use https, and repack MathJax.js
1 parent bccbbea commit e1810fe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

MathJax.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/MathJax.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,7 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
666666

667667
var PATH = {};
668668
PATH[BASENAME] = ""; // empty path gets the root URL
669-
PATH.Contrib = (String(location.protocol).match(/^https?:/) ? "" : "http:") +
670-
"//cdn.mathjax.org/mathjax/contrib"; // the third-party extensions
669+
PATH.Contrib = "https://cdn.mathjax.org/mathjax/contrib"; // the third-party extensions
671670

672671
BASE.Ajax = {
673672
loaded: {}, // files already loaded

0 commit comments

Comments
 (0)