mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Rerun MathJax when previewing a translation
This commit is contained in:
parent
913d9ec0b7
commit
3bfc2a7406
@ -18,3 +18,4 @@ $(document).on "turbolinks:load", loadCodeMirror
|
|||||||
|
|
||||||
$(document).on "click", '#translationNav a[href="#preview"]', ->
|
$(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]);
|
||||||
Loading…
Reference in New Issue
Block a user