Commit 96e80ff9 authored by RawKStar77's avatar RawKStar77

Specify MathJax Typeset call with output element

parent 81d21daa
...@@ -305,7 +305,7 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc ...@@ -305,7 +305,7 @@ markdown = ['$filter', '$sanitize', '$sce', '$timeout', ($filter, $sanitize, $sc
rendered = renderMath markdown rendered = renderMath markdown
scope.rendered = $sce.trustAsHtml rendered scope.rendered = $sce.trustAsHtml rendered
if MathJaxFallback if MathJaxFallback
MathJax?.Hub.Queue(["Typeset",MathJax.Hub]) MathJax?.Hub.Queue(["Typeset",MathJax.Hub,output])
# React to the changes to the input # React to the changes to the input
inputEl.bind 'blur change keyup', -> inputEl.bind 'blur change keyup', ->
......
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