fix welcome page title fixes #4273

This commit is contained in:
Matthias Herzog 2019-07-08 20:50:13 +02:00 committed by Дамян Минков
parent 9071cd4813
commit e0c8b6b3c0
3 changed files with 3 additions and 4 deletions

View File

@ -156,8 +156,6 @@ UI.getSharedVideoManager = function() {
* established, false - otherwise (for example in the case of welcome page)
*/
UI.start = function() {
document.title = interfaceConfig.APP_NAME;
// Set the defaults for prompt dialogs.
$.prompt.setDefaults({ persistent: false });
@ -189,8 +187,6 @@ UI.start = function() {
APP.store.dispatch(setNotificationsEnabled(false));
UI.messageHandler.enablePopups(false);
}
document.title = interfaceConfig.APP_NAME;
};
/**

View File

@ -124,6 +124,8 @@ class Conference extends AbstractConference<Props, *> {
* @inheritdoc
*/
componentDidMount() {
document.title = interfaceConfig.APP_NAME;
const { configLocation } = config;
if (configLocation) {

View File

@ -80,6 +80,7 @@ class WelcomePage extends AbstractWelcomePage {
*/
componentDidMount() {
document.body.classList.add('welcome-page');
document.title = interfaceConfig.APP_NAME;
if (this.state.generateRoomnames) {
this._updateRoomname();