mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 00:36:42 +01:00
Rerun MathJax when previewing a translation
This commit is contained in:
parent
913d9ec0b7
commit
3bfc2a7406
@ -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]);
|
||||
Loading…
Reference in New Issue
Block a user