Fix Alt+Up/Down cycling through channels of collapsed networks
This commit is contained in:
parent
db4661339a
commit
e2e6fe2533
@ -41,7 +41,7 @@ Mousetrap.bind([
|
|||||||
"alt+up",
|
"alt+up",
|
||||||
"alt+down",
|
"alt+down",
|
||||||
], function(e, keys) {
|
], function(e, keys) {
|
||||||
const channels = sidebar.find(".chan");
|
const channels = sidebar.find(".chan").not(".network.collapsed :not(.lobby)");
|
||||||
const index = channels.index(channels.filter(".active"));
|
const index = channels.index(channels.filter(".active"));
|
||||||
const direction = keys.split("+").pop();
|
const direction = keys.split("+").pop();
|
||||||
let target;
|
let target;
|
||||||
|
Loading…
Reference in New Issue
Block a user