mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
The previous version with e.target would give the element that was clicked lying inside an element with '.view_user_profile'. One would usually expect "data-user-id" to be attached to the same element with ".view_user_profile" instead of any of its children. So, to just look for "data-user-id" in the element with that class, instead of any of its chidren, this commit changes e.target to e.currentTarget. |
||
|---|---|---|
| .. | ||
| assets | ||
| audio/notification_sounds | ||
| generated | ||
| html | ||
| images | ||
| js | ||
| shared | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||