Description:
I noticed some strange behavior when you have a really slow internet connection and you click the "flag" button on questions and answers more than once.
At first, a single "loading" throbber appears next to the "flag" button. But if the internet is slow, and you click the "flag" button again and again, you get this:
Whoops! We only need one, right?
This works both in and out of the review queues when flagging questions and answers.
Steps to Reproduce:
- Find somewhere with a really slow internet connection (or bandwidth-limit your computer).
- Go to any question or answer.
- Click the "flag" button.
- Repeat Step 3.
Solution:
I think that the "flag" button should be greyed out once it is pressed, just like the "Save Edits" or "Post Answer" buttons. This way, users will not want to click on it again.
Also, of course, I think only one throbber should be created for the "flag" button if it is clicked.