Fix event handling for clicking on user sidebar entries.
Review Request #7551 — Created July 28, 2015 and submitted — Latest diff uploaded
For the sidebar, the event handling was using
ev.target
, which in the case of
clicking directly on a name (rather than next to it) would be the<span>
element rather than the<a>
. Changing toev.currentTarget
fixes this.
Clicked around and saw that user links always worked no matter which part of
the sidebar entry I clicked on.