From f1576b145f62fee1bfbcc6b797d062866b51c337 Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Sat, 3 Jan 2015 20:52:38 +0100 Subject: [PATCH] Fix problem with mathjax and turbolinks --- app/assets/javascripts/mathjax.js.coffee | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 app/assets/javascripts/mathjax.js.coffee diff --git a/app/assets/javascripts/mathjax.js.coffee b/app/assets/javascripts/mathjax.js.coffee new file mode 100644 index 0000000..a55a1be --- /dev/null +++ b/app/assets/javascripts/mathjax.js.coffee @@ -0,0 +1,2 @@ +$(document).on 'page:load', -> + window.MathJax.Hub.Queue(["Typeset",MathJax.Hub]); \ No newline at end of file