Browse Source

fix welcome page title fixes #4273

master
Matthias Herzog 6 years ago
parent
commit
e0c8b6b3c0

+ 0
- 4
modules/UI/UI.js View File

156
  * established, false - otherwise (for example in the case of welcome page)
156
  * established, false - otherwise (for example in the case of welcome page)
157
  */
157
  */
158
 UI.start = function() {
158
 UI.start = function() {
159
-    document.title = interfaceConfig.APP_NAME;
160
-
161
     // Set the defaults for prompt dialogs.
159
     // Set the defaults for prompt dialogs.
162
     $.prompt.setDefaults({ persistent: false });
160
     $.prompt.setDefaults({ persistent: false });
163
 
161
 
189
         APP.store.dispatch(setNotificationsEnabled(false));
187
         APP.store.dispatch(setNotificationsEnabled(false));
190
         UI.messageHandler.enablePopups(false);
188
         UI.messageHandler.enablePopups(false);
191
     }
189
     }
192
-
193
-    document.title = interfaceConfig.APP_NAME;
194
 };
190
 };
195
 
191
 
196
 /**
192
 /**

+ 2
- 0
react/features/conference/components/web/Conference.js View File

124
      * @inheritdoc
124
      * @inheritdoc
125
      */
125
      */
126
     componentDidMount() {
126
     componentDidMount() {
127
+        document.title = interfaceConfig.APP_NAME;
128
+
127
         const { configLocation } = config;
129
         const { configLocation } = config;
128
 
130
 
129
         if (configLocation) {
131
         if (configLocation) {

+ 1
- 0
react/features/welcome/components/WelcomePage.web.js View File

80
      */
80
      */
81
     componentDidMount() {
81
     componentDidMount() {
82
         document.body.classList.add('welcome-page');
82
         document.body.classList.add('welcome-page');
83
+        document.title = interfaceConfig.APP_NAME;
83
 
84
 
84
         if (this.state.generateRoomnames) {
85
         if (this.state.generateRoomnames) {
85
             this._updateRoomname();
86
             this._updateRoomname();

Loading…
Cancel
Save