diff --git a/client/js/keybinds.js b/client/js/keybinds.js index 249ca291..4b40e9c1 100644 --- a/client/js/keybinds.js +++ b/client/js/keybinds.js @@ -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;