|
|
@@ -3,13 +3,10 @@
|
|
3
|
3
|
var shortcuts = {};
|
|
4
|
4
|
function initShortcutHandlers() {
|
|
5
|
5
|
shortcuts = {
|
|
6
|
|
- 191: {
|
|
7
|
|
- character: "/",
|
|
8
|
|
- function: function(e) {
|
|
9
|
|
- // Only trigger on "?", not on "/".
|
|
10
|
|
- if (e.shiftKey) {
|
|
11
|
|
- APP.UI.toggleKeyboardShortcutsPanel();
|
|
12
|
|
- }
|
|
|
6
|
+ 27: {
|
|
|
7
|
+ character: "Esc",
|
|
|
8
|
+ function: function() {
|
|
|
9
|
+ APP.UI.showKeyboardShortcutsPanel(false);
|
|
13
|
10
|
}
|
|
14
|
11
|
},
|
|
15
|
12
|
67: {
|
|
|
@@ -59,6 +56,15 @@ function initShortcutHandlers() {
|
|
59
|
56
|
function: function() {
|
|
60
|
57
|
APP.conference.toggleVideoMuted();
|
|
61
|
58
|
}
|
|
|
59
|
+ },
|
|
|
60
|
+ 191: {
|
|
|
61
|
+ character: "/",
|
|
|
62
|
+ function: function(e) {
|
|
|
63
|
+ // Only trigger on "?", not on "/".
|
|
|
64
|
+ if (e.shiftKey) {
|
|
|
65
|
+ APP.UI.toggleKeyboardShortcutsPanel();
|
|
|
66
|
+ }
|
|
|
67
|
+ }
|
|
62
|
68
|
}
|
|
63
|
69
|
};
|
|
64
|
70
|
}
|