Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
This cause context menu to re-open when clicking on user in the context menu
  • Loading branch information
xPaw committed Jun 10, 2018
1 parent 03a7d97 commit a9644b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/js/contextMenuFactory.js
Expand Up @@ -60,8 +60,6 @@ function addWhoisItem() {
target: $("#chat").data("id"),
text: "/whois " + itemData,
});

$(`.channel.active .userlist .user[data-name="${itemData}"]`).trigger("click");
}

addContextMenuItem({
Expand Down

0 comments on commit a9644b7

Please sign in to comment.