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 addChannelListItem() {
|
||||||
function list(itemData) {
|
function list(itemData) {
|
||||||
socket.emit("input", {
|
socket.emit("input", {
|
||||||
target: itemData,
|
target: parseInt(itemData, 10),
|
||||||
text: "/list",
|
text: "/list",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -264,7 +264,7 @@ function addChannelListItem() {
|
|||||||
function addBanListItem() {
|
function addBanListItem() {
|
||||||
function banlist(itemData) {
|
function banlist(itemData) {
|
||||||
socket.emit("input", {
|
socket.emit("input", {
|
||||||
target: itemData,
|
target: parseInt(itemData, 10),
|
||||||
text: "/banlist",
|
text: "/banlist",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user