Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix welcome page title fixes #4273

Matthias Herzoge0c8b6b3c0ea
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index 1af8493511..e9b2df0653 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -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;
};
/**
diff --git a/react/features/conference/components/web/Conference.js b/react/features/conference/components/web/Conference.js
index 36fd1cdba9..28698a4d67 100644
--- a/react/features/conference/components/web/Conference.js
+++ b/react/features/conference/components/web/Conference.js
@@ -124,6 +124,8 @@ class Conference extends AbstractConference<Props, *> {
* @inheritdoc
*/
componentDidMount() {
+ document.title = interfaceConfig.APP_NAME;
+
const { configLocation } = config;
if (configLocation) {
diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js
index b6cc6212e0..0328000748 100644
--- a/react/features/welcome/components/WelcomePage.web.js
+++ b/react/features/welcome/components/WelcomePage.web.js
@@ -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();