mirror of https://github.com/zulip/zulip.git
Remove 'narrow to messages sent by' from message popover.
Now that this functionality is accessible from the right sidebar, we don't really need it here. (imported from commit 34eaef4e1200f9fc673a681f0be87d8008033e83)
This commit is contained in:
parent
4558c5e008
commit
6100d61f8f
|
@ -1447,13 +1447,6 @@ $(function () {
|
|||
narrow.by_recipient(msgid, {trigger: 'popover'});
|
||||
e.stopPropagation();
|
||||
});
|
||||
$('body').on('click', '.popover_narrow_by_sender_button', function (e) {
|
||||
var msgid = $(e.currentTarget).data('msgid');
|
||||
var sender_email = $(e.currentTarget).data('sender_email');
|
||||
ui.hide_actions_popover();
|
||||
narrow.by('sender', sender_email, {then_select_id: msgid, trigger: 'popover'});
|
||||
e.stopPropagation();
|
||||
});
|
||||
$('body').on('click', '.popover_narrow_by_time_travel_button', function (e) {
|
||||
var msgid = $(e.currentTarget).data('msgid');
|
||||
ui.hide_actions_popover();
|
||||
|
|
|
@ -46,12 +46,6 @@
|
|||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
<li>
|
||||
<a class="popover_narrow_by_sender_button" data-msgid="{{message.id}}" data-sender_email="{{message.sender_email}}">
|
||||
<i class="icon-user"></i>
|
||||
Narrow to messages sent by <b>{{message.sender_full_name}}</b>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{{#if narrowed}}
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue