Merge pull request #2388 from Raqbit/master
Fix Alt+Up/Down cycling through channels of collapsed networks
This commit is contained in:
commit
4824a2b535
@ -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