Fix MathJax in sequentials

This commit is contained in:
kimth
2012-08-21 13:32:55 -04:00
parent 231aa4674c
commit 9b3f560c98
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ class @Sequence
@$('#seq_content').html @contents.eq(new_position - 1).text()
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
@toggleArrows()
@hookUpProgressEvent()

View File

@@ -22,7 +22,7 @@
</nav>
% for item in items:
<div class="seq_contents">${item['content'] | h}</div>
<div class="seq_contents tex2jax_ignore">${item['content'] | h}</div>
% endfor
<div id="seq_content"></div>