Merge pull request #2406 from thelounge/xpaw/fix-2400

Fix channel and ban lists in context menu not working
This commit is contained in:
Al McKinlay 2018-05-01 21:14:47 +01:00 committed by GitHub
commit 44c5f71ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",
});
}