# Mathjax stops rendering after clicking “An edit has been made to this post”

I have noticed in the last two weeks or so that after clicking the "An edit has been made ..." banner, the mathjax is not rendered.

Example (before):

(and after):

Refreshing the page renders the mathjax again. Is this a (new) feature? And if not can something be done?

I am using Firefox 68.0.2 on Windows 7.

• I'm experiencing the same thing on Chrome Version 76.0.3809.100, Windows 10. – Zacky Aug 16 '19 at 13:43
• Add me too in the list! – Ak. Aug 16 '19 at 14:04
• Happens on Firefox 68.0.2 on Unix, and on Windows 10. I just re-load. – Arturo Magidin Aug 16 '19 at 14:57
• My experience is that the MathJax eventually renders again, but it takes a long time (maybe 30 seconds). – Eric Wofsey Aug 16 '19 at 17:09
• Sometimes happens on Chrome. Indeed it renders again but it doesn't last too much. At most 2-3 seconds. – user486983 Aug 16 '19 at 17:38
• nevermind. I have just seen an edited question and the mathjax is not rendered unless refreshing the page. It's the first time this happens, time ago it was 2-3 seconds and sometimes. – user486983 Aug 16 '19 at 18:27
• Same problem with Opera 62.0.3331.119 for Mac. Reloading causes the MathJax to render. It has been this way for a couple of days now. – Xander Henderson Aug 16 '19 at 23:43
• Migh be related to here where MathJax slowed down after questions were closed (this is still not completely fixed, see my comments there). – Bill Dubuque Aug 17 '19 at 0:24
• @EricWofsey Using FireFox version $68.0.1$ on Windows $7$, I noticed very similar behavior, i.e., it takes quite a while (about $30$ or so seconds as you mention) for MathJax to render on its own. However, refreshing the screen seems to always cause it to render again considerably faster. – John Omielan Aug 17 '19 at 1:25
• Using Chrome 76.0.3809.100, I found that the problem has now disappeared. Anyone else experience the same thing? – Toby Mak Aug 25 '19 at 12:38
• Using Chrome Version 76.0.3809.132 and I still have the problem. – saulspatz Aug 31 '19 at 17:11
• (1) It is perhaps worth noting that this is still an issue (see here). (2) As a workaround, the MathJax bookmarklet can be used without forcing a reload. – Xander Henderson Oct 21 '19 at 19:34
• Same problem here, with Safari on a Mac. – Gerry Myerson Oct 21 '19 at 21:26
• Same problem using Chromium 77.0.3865.90 on Linux (Fedora 30), dating back to slightly before the current post (persisting through both browser and OS updates). – hardmath Oct 22 '19 at 23:36
• This needs to be fixed! There's no reason, at least as a work-around, that clicking the "An edit has been made to this post" link shouldn't auto-refresh the webpage. – Adrian Keister Dec 12 '19 at 20:16

I'm embarrassed to say this was originally my fault. I had refactored post reloading to fix a handful of small bugs in support of moderator tooling, and accidentally dropped the call to styleCode() that kicks off the MathJax rendering.
StackExchange.realtime.reloadPosts([\$('.question').data('questionid')])