Skip to content

Commit

Permalink
Fix https for MathJax CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
trvrb committed Dec 13, 2021
1 parent 85d44e9 commit 461c25a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reveal/js/config.js
Expand Up @@ -19,7 +19,7 @@ Reveal.initialize({
// parallaxBackgroundSize: '2100px 900px',

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

Expand Down
2 changes: 1 addition & 1 deletion reveal/plugin/math/math.js
Expand Up @@ -7,7 +7,7 @@
var RevealMath = window.RevealMath || (function(){

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

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

0 comments on commit 461c25a

Please sign in to comment.