mirror of
https://github.com/thelounge/thelounge
synced 2025-02-17 13:48:26 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue