Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fix for button appearing in both toolbars

yanas3b05a16b3275
diff --git a/index.html b/index.html
index 209529741f..725aaa65bf 100644
--- a/index.html
+++ b/index.html
@@ -123,7 +123,7 @@
<a class="button icon-contactList" id="toolbar_contact_list" data-container="body" data-toggle="popover" data-placement="right" shortcut="contactlistpopover" data-i18n="[content]bottomtoolbar.contactlist" content="Open / close contact list">
<span id="numberOfParticipants"></span>
</a>
- <a class="button icon-link" id="toolbar_button_link" data-container="body" data-toggle="popover" data-placement="right" data-i18n="[content]toolbar.invite" content="Invite others"></a>
+ <!--a class="button icon-link" id="toolbar_button_link" data-container="body" data-toggle="popover" data-placement="right" data-i18n="[content]toolbar.invite" content="Invite others"></a-->
<a class="button icon-chat" id="toolbar_button_chat" data-container="body" data-toggle="popover" shortcut="toggleChatPopover" data-placement="right" data-i18n="[content]toolbar.chat" content="Open / close chat">
<span id="unreadMessages"></span>
</a>
diff --git a/modules/UI/util/UIUtil.js b/modules/UI/util/UIUtil.js
index 321de2be96..b551911897 100644
--- a/modules/UI/util/UIUtil.js
+++ b/modules/UI/util/UIUtil.js
@@ -112,7 +112,8 @@
* is enabled, {false} - otherwise
*/
isButtonEnabled: function (name) {
- return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1;
+ return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
+ || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
},
/**
* Indicates if the setting section is enabled.