• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Reload JS on post preview

Andy.N

Well-known member
#1
Basically, I'm using Mathjax which will call external JS for each page load.
The problem is that Xenforo is using ajax in a lot of places such as when you use the quick reply box and when you edit and preview a post. This means I won't be able to see the Latex rendering until I reload the page.

It appears Mathjax has a solution for this. I'm trying to see if anyone is able to understand this method
http://docs.mathjax.org/en/v1.1-latest/typeset.html

Anyway we can allow post preview to load the JS?