Viewing hidden posts requires two clicks

(Felix Freiberger) #1

For quite some time now, viewing the content of posts hidden by the community has required two clicks.

Steps to reproduce:

  1. Open any topic with a hidden posts.
  2. Click View hidden post.
  3. Wait a second or two.
  4. Click View hidden post again.

Expected results:

After step :two:, a spinner appears and the post is shown after a short delay.

Actual results:

Nothing appears to happen after step :two:. Step :four: immediately reveals the content.

Bonus question: What’s up with this post? It was hidden when I started writing this post, and @Muiran edited it. Now, it has an edit icon :pencil2:, but opening the revision history tries to load the URL which 404s, leaving the history empty.

(Jeff Atwood) #2

Hmm @eviltrout we should fix this if it repros.

(Joshua Rosenfeld) #3

I can repro this on Try:

(Robin Ward) #4

Easy fix here:

(Jeff Atwood) #5