Skip to content

Commit

Permalink
Merge pull request #1018 from mathjax/issue3130
Browse files Browse the repository at this point in the history
Proper handling of typesetPromise in defaultPageReady. (mathjax/MathJax#3130)
  • Loading branch information
dpvc authored Nov 20, 2023
2 parents e196c18 + 32e70ef commit dd7481c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/components/startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export namespace Startup {
return (CONFIG.loadAllFontFiles && (output as COMMONJAX).font ?
(output as COMMONJAX).font.loadDynamicFiles() : Promise.resolve())
.then(CONFIG.typeset && MathJax.typesetPromise ?
typesetPromise(CONFIG.elements) :
() => typesetPromise(CONFIG.elements) :
Promise.resolve());
}

Expand Down

0 comments on commit dd7481c

Please sign in to comment.