Remove unnecessary code
This cause context menu to re-open when clicking on user in the context menu
This commit is contained in:
parent
012ca805c1
commit
24531538fd
@ -60,8 +60,6 @@ function addWhoisItem() {
|
|||||||
target: $("#chat").data("id"),
|
target: $("#chat").data("id"),
|
||||||
text: "/whois " + itemData,
|
text: "/whois " + itemData,
|
||||||
});
|
});
|
||||||
|
|
||||||
$(`.channel.active .userlist .user[data-name="${itemData}"]`).trigger("click");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
addContextMenuItem({
|
addContextMenuItem({
|
||||||
|
Loading…
Reference in New Issue
Block a user