fix welcome page title fixes #4273
This commit is contained in:
parent
9071cd4813
commit
e0c8b6b3c0
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -124,6 +124,8 @@ class Conference extends AbstractConference<Props, *> {
|
|||
* @inheritdoc
|
||||
*/
|
||||
componentDidMount() {
|
||||
document.title = interfaceConfig.APP_NAME;
|
||||
|
||||
const { configLocation } = config;
|
||||
|
||||
if (configLocation) {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue