Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes a mistake in the video switching shortcuts.

fo770f07c470d4
diff --git a/keyboard_shortcut.js b/keyboard_shortcut.js
index 643bdda221..58ea7b601f 100644
--- a/keyboard_shortcut.js
+++ b/keyboard_shortcut.js
@@ -38,7 +38,7 @@ var KeyboardShortcut = (function(my) {
shortcuts[keycode].function();
} else if (keycode >= "0".charCodeAt(0) && keycode <= "9".charCodeAt(0)) {
var remoteVideos = $(".videocontainer:not(#mixedstream)"),
- videoWanted = (keycode - "0".charCodeAt(0) + 1) % 10;
+ videoWanted = keycode - "0".charCodeAt(0) + 1;
if (remoteVideos.length > videoWanted) {
remoteVideos[videoWanted].click();
}