Fixed Clicking the warnings link in the "member header stats" twice causes minor issue

Steffen

Well-known member
Affected version
2.0.6
  1. As moderator (you need the permission to view warnings), go to the profile page of a member that has been given at least one warning.
  2. In the "memberHeader-stats" block there is a link "Warnings x/y". Click it. Now the warnings tab loads, fine.
  3. Click the link "Warnings x/y" again (because we can ^^). For some reason, this activates the first tab (and the scroll position jumps).
 
There are probably slightly more involved fixes we could do here, but I'm opting for something a bit more simple.

We'll just make that "Warnings x/y" link open in an overlay then we won't have to deal with the difficulty of responding to a hashchange event that doesn't fire because, actually, the hash doesn't change.
 
Back
Top Bottom