From dc431359803572d45b9feafa45c3c82ff520d39a Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Tue, 18 Oct 2016 14:37:55 -0500 Subject: [PATCH] fix(iframe_api): toggleScreenSharing command --- modules/API/API.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/API/API.js b/modules/API/API.js index 59e72d9a17..9ca01ef45e 100644 --- a/modules/API/API.js +++ b/modules/API/API.js @@ -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) {