An example returned document.querySelector result passed as a callback to the typeset() function which threw an exception because MathJax.typesetPromise() requires an iterable not just a Node. Changed the example to return an array with that node instead.
An example returned document.querySelector result passed as a callback to the typeset() function which threw an exception because MathJax.typesetPromise() requires an iterable not just a Node. Changed the example to return an array with that node instead.