mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Make the left sidebar and right sidebar more consistent.
Addresses Trac #1500. (imported from commit ad59d6f78042ce89a99ad60c7c34f67144e9c776)
This commit is contained in:
@@ -1158,8 +1158,8 @@ $(function () {
|
||||
timerender.set_full_datetime(message, time_elem);
|
||||
});
|
||||
|
||||
$('#user_presences').on('click', 'a', function (e) {
|
||||
var email = $(e.target).closest('a').attr('data-email');
|
||||
$('#user_presences').on('click', '.selectable_sidebar_block', function (e) {
|
||||
var email = $(e.target).parents('li').attr('data-email');
|
||||
narrow.by('pm-with', email, {trigger: 'presence list'});
|
||||
compose.start('private', {private_message_recipient: email,
|
||||
trigger: 'presence list'});
|
||||
|
||||
Reference in New Issue
Block a user