Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathJax.typesetPromise() #263

Closed
mhchem opened this issue Sep 9, 2020 · 1 comment · Fixed by #264
Closed

MathJax.typesetPromise() #263

mhchem opened this issue Sep 9, 2020 · 1 comment · Fixed by #264

Comments

@mhchem
Copy link
Contributor

mhchem commented Sep 9, 2020

In section http://docs.mathjax.org/en/latest/web/typeset.html#handling-asynchronous-typesetting,
shouln't

promise = promise.then(() => {code(); return MathJax.typesetPromise()})

rather read

promise = promise.then(() => {return MathJax.typesetPromise(code())})

to ensure that only certain DOM parts are re-rendered?

@dpvc
Copy link
Member

dpvc commented Sep 10, 2020

Yes, you are correct. That should be corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants