From e09a2f5beee10f2dd377a63c977b50939732c630 Mon Sep 17 00:00:00 2001 From: yanas Date: Fri, 5 Feb 2016 12:53:31 -0600 Subject: [PATCH] Fixes all shortcuts. --- modules/keyboardshortcut/keyboardshortcut.js | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/modules/keyboardshortcut/keyboardshortcut.js b/modules/keyboardshortcut/keyboardshortcut.js index bae85264e..48c7905a1 100644 --- a/modules/keyboardshortcut/keyboardshortcut.js +++ b/modules/keyboardshortcut/keyboardshortcut.js @@ -6,22 +6,30 @@ function initShortcutHandlers() { 67: { character: "C", id: "toggleChatPopover", - function: APP.UI.toggleChat + function: function() { + APP.UI.toggleChat(); + } }, 68: { character: "D", id: "toggleDesktopSharingPopover", - function: APP.desktopsharing.toggleScreenSharing + function: function() { + APP.desktopsharing.toggleScreenSharing(); + } }, 70: { character: "F", id: "filmstripPopover", - function: APP.UI.toggleFilmStrip + function: function() { + APP.UI.toggleFilmStrip(); + } }, 77: { character: "M", id: "mutePopover", - function: APP.conference.toggleAudioMuted + function: function() { + APP.conference.toggleAudioMuted(); + } }, 84: { character: "T", @@ -32,7 +40,9 @@ function initShortcutHandlers() { 86: { character: "V", id: "toggleVideoPopover", - function: APP.conference.toggleVideoMuted + function: function() { + APP.conference.toggleVideoMuted(); + } } }; }