diff --git a/app/assets/javascripts/translations.js.coffee b/app/assets/javascripts/translations.js.coffee index 2c1c09c..843e89f 100644 --- a/app/assets/javascripts/translations.js.coffee +++ b/app/assets/javascripts/translations.js.coffee @@ -17,4 +17,5 @@ $(document).on "turbolinks:load", loadCodeMirror $(document).on "click", '#translationNav a[href="#preview"]', -> - $('#preview .problem-content').html(cm.getValue()) \ No newline at end of file + $('#preview .problem-content').html(cm.getValue()) + MathJax.Hub.Queue(["Typeset",MathJax.Hub]); \ No newline at end of file