Steps do reproduce the problem

When you are answering some question...

  1. Click on the Code Snippet button or press CTRL+M
  2. Click on the X at the corner or press ESC to close the window
  3. Choose OK to actually close the window
  4. Repeat steps #1 and #2
  5. Click Cancel and the window will be closed anyway

I tested in Chrome (last version) and Internet Explorer 10. It does not matter whether I am logged in or not.


The bug was caused by the snippets code mirror script being loaded asynchronously, and our events handlers being attached in the loader's promise, which got them wired up in the wrong order each but the first time, when the script was actually loaded.

Fix is rolling out with build rev 2015.1.22.2987 on meta and 2015.1.22.2213 on sites.

  • 1
    Cool... since you so kindly asked me not to ask... what happened there? ;) – Shadow Wizard is Vaccinating Jan 22 '15 at 19:43
  • 1
    Thanks! I guessed it was something like this, but I gave up trying to debug. Minified code is too messy. – utluiz Jan 22 '15 at 21:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .