Merge pull request #1038 from jitsi/api_commands

fix(iframe_api): toggleScreenSharing command
This commit is contained in:
Дамян Минков 2016-10-18 14:52:21 -05:00 committed by GitHub
commit d97ed17052
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ function initCommands() {
"toggle-film-strip": APP.UI.toggleFilmStrip,
"toggle-chat": APP.UI.toggleChat,
"toggle-contact-list": APP.UI.toggleContactList,
"toggle-share-screen": APP.conference.toggleScreenSharing,
"toggle-share-screen":
APP.conference.toggleScreenSharing.bind(APP.conference),
"video-hangup": () => APP.conference.hangup()
};
Object.keys(commands).forEach(function (key) {