|
@@ -1,4 +1,4 @@
|
1
|
|
-/* global APP, $, JitsiMeetJS */
|
|
1
|
+/* global APP, $, JitsiMeetJS, interfaceConfig */
|
2
|
2
|
|
3
|
3
|
import {
|
4
|
4
|
toggleDialog
|
|
@@ -34,12 +34,14 @@ function initGlobalShortcuts() {
|
34
|
34
|
});
|
35
|
35
|
KeyboardShortcut._addShortcutToHelp("SPACE","keyboardShortcuts.pushToTalk");
|
36
|
36
|
|
37
|
|
- KeyboardShortcut.registerShortcut("T", null, () => {
|
38
|
|
- JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked");
|
39
|
|
- APP.store.dispatch(toggleDialog(SpeakerStats, {
|
40
|
|
- conference: APP.conference
|
41
|
|
- }));
|
42
|
|
- }, "keyboardShortcuts.showSpeakerStats");
|
|
37
|
+ if(!interfaceConfig.filmStripOnly) {
|
|
38
|
+ KeyboardShortcut.registerShortcut("T", null, () => {
|
|
39
|
+ JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked");
|
|
40
|
+ APP.store.dispatch(toggleDialog(SpeakerStats, {
|
|
41
|
+ conference: APP.conference
|
|
42
|
+ }));
|
|
43
|
+ }, "keyboardShortcuts.showSpeakerStats");
|
|
44
|
+ }
|
43
|
45
|
|
44
|
46
|
/**
|
45
|
47
|
* FIXME: Currently focus keys are directly implemented below in onkeyup.
|