mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-13 11:12:22 +02:00
Fix context menu opening wrong thing
This commit is contained in:
parent
aea779cfdf
commit
eff6dcb514
|
@ -74,7 +74,7 @@ window.vueMounted = () => {
|
|||
});
|
||||
|
||||
viewport.on("click", "#chat .menu", function(e) {
|
||||
e.currentTarget = $(`#sidebar .chan[data-id="${$(this).closest(".chan").data("id")}"]`)[0];
|
||||
e.currentTarget = $(`#sidebar .chan[data-id="${$(this).closest(".chan").attr("data-id")}"]`)[0];
|
||||
return contextMenuFactory.createContextMenu($(this), e).show();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue