Skip to content

Commit

Permalink
Fix MathJax CDN URL
Browse files Browse the repository at this point in the history
  • Loading branch information
naoyak committed Jun 5, 2020
1 parent 7be92f8 commit d3bca42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion knowledge_repo/app/templates/markdown-presentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
});
</script>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.8/MathJax.js">
src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js">
</script>
<script>
$(".btn-presentation").addClass("btn-active");
Expand Down
2 changes: 1 addition & 1 deletion knowledge_repo/app/templates/markdown-rendered.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h2> {{ comments | length }} Comments </h2>
});
</script>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.8/MathJax.js">
src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js">
</script>

<script>
Expand Down
2 changes: 1 addition & 1 deletion knowledge_repo/app/templates/post_editor_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ <h2> {{ comments | length }} Comments </h2>
});
</script>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.8/MathJax.js">
src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js">
</script>

{% endblock %}

0 comments on commit d3bca42

Please sign in to comment.