Ver código fonte

Fixes a mistake in the video switching shortcuts.

j8
fo 11 anos atrás
pai
commit
770f07c470
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      keyboard_shortcut.js

+ 1
- 1
keyboard_shortcut.js Ver arquivo

@@ -38,7 +38,7 @@ var KeyboardShortcut = (function(my) {
38 38
                 shortcuts[keycode].function();
39 39
             } else if (keycode >= "0".charCodeAt(0) && keycode <= "9".charCodeAt(0)) {
40 40
                 var remoteVideos = $(".videocontainer:not(#mixedstream)"),
41
-                    videoWanted = (keycode - "0".charCodeAt(0) + 1) % 10;
41
+                    videoWanted = keycode - "0".charCodeAt(0) + 1;
42 42
                 if (remoteVideos.length > videoWanted) {
43 43
                     remoteVideos[videoWanted].click();
44 44
                 }

Carregando…
Cancelar
Salvar