diff --git a/modules/UI/UI.js b/modules/UI/UI.js index eb065304d..9b97d6891 100644 --- a/modules/UI/UI.js +++ b/modules/UI/UI.js @@ -108,13 +108,13 @@ UI.start = function() { $('body').addClass('mobile-browser'); } else { $('body').addClass('desktop-browser'); + } - if (config.backgroundAlpha !== undefined) { - const backgroundColor = $('body').css('background-color'); - const alphaColor = setColorAlpha(backgroundColor, config.backgroundAlpha); + if (config.backgroundAlpha !== undefined) { + const backgroundColor = $('body').css('background-color'); + const alphaColor = setColorAlpha(backgroundColor, config.backgroundAlpha); - $('body').css('background-color', alphaColor); - } + $('body').css('background-color', alphaColor); } if (config.iAmRecorder) { diff --git a/react/features/conference/components/web/Conference.js b/react/features/conference/components/web/Conference.js index 815aefb28..692d3da5e 100644 --- a/react/features/conference/components/web/Conference.js +++ b/react/features/conference/components/web/Conference.js @@ -222,12 +222,12 @@ class Conference extends AbstractConference { id = 'layout_wrapper' onMouseEnter = { this._onMouseEnter } onMouseLeave = { this._onMouseLeave } - onMouseMove = { this._onMouseMove } > + onMouseMove = { this._onMouseMove } + ref = { this._setBackground }>
+ onMouseMove = { isMobileBrowser() ? undefined : this._onShowToolbar }>