mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 14:44:13 +00:00
Merge pull request #2388 from Raqbit/master
Fix Alt+Up/Down cycling through channels of collapsed networks
This commit is contained in:
commit
4824a2b535
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ Mousetrap.bind([
|
|||
"alt+up",
|
||||
"alt+down",
|
||||
], 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 direction = keys.split("+").pop();
|
||||
let target;
|
||||
|
|
Loading…
Reference in a new issue