소스 검색

Merge pull request #131 from fouksf/keyboard-shortcuts

Fixes a mistake in the video switching shortcuts.
j8
hristoterezov 11 년 전
부모
커밋
ca8d978107
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      keyboard_shortcut.js

+ 1
- 1
keyboard_shortcut.js 파일 보기

@@ -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
                 }

Loading…
취소
저장