mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
Open context menu inside of chats on sidebar item
This commit is contained in:
parent
a392b9f35f
commit
d16b18de78
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ $(function() {
|
|||
});
|
||||
|
||||
viewport.on("click", "#chat .menu", function(e) {
|
||||
e.currentTarget = $(e.currentTarget).closest(".chan")[0];
|
||||
e.currentTarget = $(`#sidebar .chan[data-id="${$(this).closest(".chan").data("id")}"]`)[0];
|
||||
return showContextMenu(this, e);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue