Fix MathJax in sequentials
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user