mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 10:38:50 +01:00
Make CodeMirror and MathJax work with turbolinks
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
$(document).on 'page:load', ->
|
||||
window.MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
|
||||
$(document).on 'turbolinks:load', ->
|
||||
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
|
||||
Reference in New Issue
Block a user