From e2e6fe2533cdde77db9d561af81f9762613dc1fb Mon Sep 17 00:00:00 2001 From: Raqbit Date: Thu, 26 Apr 2018 10:10:41 +0200 Subject: [PATCH] Fix Alt+Up/Down cycling through channels of collapsed networks --- client/js/keybinds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;