Fixes issue with ToolbarToggle.setAlwaysVisibleToolbar
This commit is contained in:
parent
c5eebcda98
commit
47fe71c1f1
|
@ -389,6 +389,7 @@ UI.start = function () {
|
||||||
|
|
||||||
registerListeners();
|
registerListeners();
|
||||||
|
|
||||||
|
ToolbarToggler.init();
|
||||||
BottomToolbar.init();
|
BottomToolbar.init();
|
||||||
FilmStrip.init(eventEmitter);
|
FilmStrip.init(eventEmitter);
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ let toolbarTimeout = interfaceConfig.INITIAL_TOOLBAR_TIMEOUT;
|
||||||
/**
|
/**
|
||||||
* If true the toolbar will be always displayed
|
* If true the toolbar will be always displayed
|
||||||
*/
|
*/
|
||||||
let alwaysVisibleToolbar = (config.alwaysVisibleToolbar === true);
|
let alwaysVisibleToolbar = false;
|
||||||
|
|
||||||
function showDesktopSharingButton() {
|
function showDesktopSharingButton() {
|
||||||
if (APP.conference.isDesktopSharingEnabled &&
|
if (APP.conference.isDesktopSharingEnabled &&
|
||||||
|
@ -44,6 +44,12 @@ function hideToolbar() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const ToolbarToggler = {
|
const ToolbarToggler = {
|
||||||
|
/**
|
||||||
|
* Initializes the ToolbarToggler
|
||||||
|
*/
|
||||||
|
init() {
|
||||||
|
alwaysVisibleToolbar = (config.alwaysVisibleToolbar === true);
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* Sets the value of alwaysVisibleToolbar variable.
|
* Sets the value of alwaysVisibleToolbar variable.
|
||||||
* @param value {boolean} the new value of alwaysVisibleToolbar variable
|
* @param value {boolean} the new value of alwaysVisibleToolbar variable
|
||||||
|
|
Loading…
Reference in New Issue