Selaa lähdekoodia

Fixes all shortcuts.

j8
yanas 10 vuotta sitten
vanhempi
commit
e09a2f5bee
1 muutettua tiedostoa jossa 15 lisäystä ja 5 poistoa
  1. 15
    5
      modules/keyboardshortcut/keyboardshortcut.js

+ 15
- 5
modules/keyboardshortcut/keyboardshortcut.js Näytä tiedosto

@@ -6,22 +6,30 @@ function initShortcutHandlers() {
6 6
         67: {
7 7
             character: "C",
8 8
             id: "toggleChatPopover",
9
-            function: APP.UI.toggleChat
9
+            function: function() {
10
+                APP.UI.toggleChat();
11
+            }
10 12
         },
11 13
         68: {
12 14
             character: "D",
13 15
             id: "toggleDesktopSharingPopover",
14
-            function: APP.desktopsharing.toggleScreenSharing
16
+            function: function() {
17
+                APP.desktopsharing.toggleScreenSharing();
18
+            }
15 19
         },
16 20
         70: {
17 21
             character: "F",
18 22
             id: "filmstripPopover",
19
-            function: APP.UI.toggleFilmStrip
23
+            function: function() {
24
+                APP.UI.toggleFilmStrip();
25
+            }
20 26
         },
21 27
         77: {
22 28
             character: "M",
23 29
             id: "mutePopover",
24
-            function: APP.conference.toggleAudioMuted
30
+            function: function() {
31
+                APP.conference.toggleAudioMuted();
32
+            }
25 33
         },
26 34
         84: {
27 35
             character: "T",
@@ -32,7 +40,9 @@ function initShortcutHandlers() {
32 40
         86: {
33 41
             character: "V",
34 42
             id: "toggleVideoPopover",
35
-            function: APP.conference.toggleVideoMuted
43
+            function: function() {
44
+                APP.conference.toggleVideoMuted();
45
+            }
36 46
         }
37 47
     };
38 48
 }

Loading…
Peruuta
Tallenna