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) {
|
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();
|
return contextMenuFactory.createContextMenu($(this), e).show();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user