mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-26 18:18:51 +01:00
Rerun MathJax when previewing a translation
This commit is contained in:
@@ -17,4 +17,5 @@ $(document).on "turbolinks:load", loadCodeMirror
|
||||
|
||||
|
||||
$(document).on "click", '#translationNav a[href="#preview"]', ->
|
||||
$('#preview .problem-content').html(cm.getValue())
|
||||
$('#preview .problem-content').html(cm.getValue())
|
||||
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
|
||||
Reference in New Issue
Block a user