Skip to content

Commit 461c25a

Browse files
committed
Fix https for MathJax CDN
1 parent 85d44e9 commit 461c25a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reveal/js/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Reveal.initialize({
1919
// parallaxBackgroundSize: '2100px 900px',
2020

2121
math: {
22-
mathjax: 'http://cdn.mathjax.org/mathjax/latest/MathJax.js',
22+
mathjax: 'https://cdn.mathjax.org/mathjax/latest/MathJax.js',
2323
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
2424
},
2525

reveal/plugin/math/math.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
var RevealMath = window.RevealMath || (function(){
88

99
var options = Reveal.getConfig().math || {};
10-
options.mathjax = options.mathjax || 'http://cdn.mathjax.org/mathjax/latest/MathJax.js';
10+
options.mathjax = options.mathjax || 'https://cdn.mathjax.org/mathjax/latest/MathJax.js';
1111
options.config = options.config || 'TeX-AMS_HTML-full';
1212

1313
loadScript( options.mathjax + '?config=' + options.config, function() {

0 commit comments

Comments
 (0)