mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Hover the sender name on gravatar and e-mail hovers as well.
This clarifies that clicking on any of those three pieces of information will pop up the user info tooltip. (imported from commit 1e57550d66acbb2e8d5d244d2997bbd394c334c3)
This commit is contained in:
@@ -16,6 +16,20 @@ function register_onclick(message_row, message_id) {
|
||||
});
|
||||
}
|
||||
|
||||
function register_user_info_mouseover(message_row, message_id) {
|
||||
message_row.find(".user_info_hover").mouseover(function (e) {
|
||||
show_email(message_id);
|
||||
message_row.find(".sender_name").addClass("sender_hovered");
|
||||
});
|
||||
}
|
||||
|
||||
function register_user_info_mouseout(message_row, message_id) {
|
||||
message_row.find(".user_info_hover").mouseout(function (e) {
|
||||
hide_email();
|
||||
message_row.find(".sender_name").removeClass("sender_hovered");
|
||||
});
|
||||
}
|
||||
|
||||
function focus_on(field_id) {
|
||||
// Call after autocompleting on a field, to advance the focus to
|
||||
// the next input field.
|
||||
|
||||
Reference in New Issue
Block a user