ソースを参照

fix welcome page title fixes #4273

j8
Matthias Herzog 5年前
コミット
e0c8b6b3c0

+ 0
- 4
modules/UI/UI.js ファイルの表示

@@ -156,8 +156,6 @@ UI.getSharedVideoManager = function() {
156 156
  * established, false - otherwise (for example in the case of welcome page)
157 157
  */
158 158
 UI.start = function() {
159
-    document.title = interfaceConfig.APP_NAME;
160
-
161 159
     // Set the defaults for prompt dialogs.
162 160
     $.prompt.setDefaults({ persistent: false });
163 161
 
@@ -189,8 +187,6 @@ UI.start = function() {
189 187
         APP.store.dispatch(setNotificationsEnabled(false));
190 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 ファイルの表示

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

+ 1
- 0
react/features/welcome/components/WelcomePage.web.js ファイルの表示

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

読み込み中…
キャンセル
保存