Remove unnecessary code

This cause context menu to re-open when clicking on user in the context menu
This commit is contained in:
Pavel Djundik 2018-06-10 12:14:41 +03:00
parent 012ca805c1
commit 24531538fd

View File

@ -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({