Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Fix undefined check.
yanas43906a4e300b
diff --git a/interface_config.js b/interface_config.jsindex c0dbecf94e..adff2c338f 100644--- a/interface_config.js+++ b/interface_config.js@@ -20,7 +20,12 @@ var interfaceConfig = { // eslint-disable-line no-unused-vars// the toolbar buttons line is intentionally left in one line, to be able// to easily override values or remove them using regexMAIN_TOOLBAR_BUTTONS: ['microphone', 'camera', 'desktop', 'invite', 'fullscreen', 'hangup'], // jshint ignore:line- MAIN_TOOLBAR_SPLITTER_INDEX: -1,+ /**+ * The index of the splitter button in the main toolbar. The splitter+ * button is a button in the toolbar that will be applied a special styling+ * visually dividing the toolbar buttons.+ */+ //MAIN_TOOLBAR_SPLITTER_INDEX: -1,TOOLBAR_BUTTONS: ['profile', 'authentication', 'microphone', 'camera', 'desktop', 'recording', 'security', 'raisehand', 'chat', 'etherpad', 'sharedvideo', 'sip', 'dialpad', 'settings', 'hangup', 'filmstrip', 'contacts'], // jshint ignore:lineSETTINGS_SECTIONS: ['language', 'devices', 'moderator'],// Determines how the video would fit the screen. 'both' would fit the wholediff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.jsindex bb7a00720a..3d346b1632 100644--- a/modules/UI/toolbars/Toolbar.js+++ b/modules/UI/toolbars/Toolbar.js@@ -711,7 +711,7 @@ Toolbar = {button,(index === 0),(index === interfaceConfig.MAIN_TOOLBAR_BUTTONS.length -1),- (interfaceConfig.MAIN_TOOLBAR_SPLITTER_INDEX+ (interfaceConfig.MAIN_TOOLBAR_SPLITTER_INDEX !== undefined&& index=== interfaceConfig.MAIN_TOOLBAR_SPLITTER_INDEX));}