Commit 9b3f560c by kimth

Fix MathJax in sequentials

parent 231aa467
...@@ -85,7 +85,7 @@ class @Sequence ...@@ -85,7 +85,7 @@ class @Sequence
@$('#seq_content').html @contents.eq(new_position - 1).text() @$('#seq_content').html @contents.eq(new_position - 1).text()
XModule.loadModules('display', @$('#seq_content')) XModule.loadModules('display', @$('#seq_content'))
MathJax.Hub.Queue(["Typeset", MathJax.Hub]) MathJax.Hub.Queue(["Typeset", MathJax.Hub, "seq_content"]) # NOTE: Actually redundant. Some other MathJax call also being performed
@position = new_position @position = new_position
@toggleArrows() @toggleArrows()
@hookUpProgressEvent() @hookUpProgressEvent()
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</nav> </nav>
% for item in items: % for item in items:
<div class="seq_contents">${item['content'] | h}</div> <div class="seq_contents tex2jax_ignore">${item['content'] | h}</div>
% endfor % endfor
<div id="seq_content"></div> <div id="seq_content"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment