Merge pull request #2406 from thelounge/xpaw/fix-2400
Fix channel and ban lists in context menu not working
This commit is contained in:
commit
44c5f71ac2
@ -247,7 +247,7 @@ function addEditNetworkItem() {
|
||||
function addChannelListItem() {
|
||||
function list(itemData) {
|
||||
socket.emit("input", {
|
||||
target: itemData,
|
||||
target: parseInt(itemData, 10),
|
||||
text: "/list",
|
||||
});
|
||||
}
|
||||
@ -264,7 +264,7 @@ function addChannelListItem() {
|
||||
function addBanListItem() {
|
||||
function banlist(itemData) {
|
||||
socket.emit("input", {
|
||||
target: itemData,
|
||||
target: parseInt(itemData, 10),
|
||||
text: "/banlist",
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user