From 6669a96fd89bc073b0e43a6614bb43807d8f5cac Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 28 Nov 2016 09:26:34 -0600 Subject: [PATCH] fix(Toolbar.js): hide recording and SIP buttons from the start --- modules/UI/toolbars/Toolbar.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.js index 58970c9ef..0b5e37d5c 100644 --- a/modules/UI/toolbars/Toolbar.js +++ b/modules/UI/toolbars/Toolbar.js @@ -255,7 +255,9 @@ const defaultToolbarButtons = { 'recording': { id: 'toolbar_button_record', tooltipKey: 'liveStreaming.buttonTooltip', - className: 'button' + className: 'button', + hidden: true // will be displayed once + // the recording functionality is detected }, 'sharedvideo': { id: 'toolbar_button_sharedvideo', @@ -270,7 +272,9 @@ const defaultToolbarButtons = { 'sip': { id: 'toolbar_button_sip', tooltipKey: 'toolbar.sip', - className: 'button icon-telephone' + className: 'button icon-telephone', + hidden: true // will be displayed once + // the SIP calls functionality is detected }, 'dialpad': { id: 'toolbar_button_dialpad',