In Chrome, I am able to break the “Flag” buttons on topics and posts.
To reproduce the error:
- Press the “Flag” button for a topic.
- Close the popup by either clicking the “X” or clicking on the overlay.
- Now, press the “Flag” button on any post. It no longer works.
- After you have clicked the “Flag” button on a post, you also can no longer flag a topic.
Step 3 will log the following error in the Javascript Console:
Uncaught TypeError: Cannot read property 'get' of undefined