浏览代码

feat(UnsupportedDesktopBrowser): recommend Edge, not IE

master
Saúl Ibarra Corretgé 7 年前
父节点
当前提交
7fcc95c9da

+ 3
- 3
react/features/unsupported-browser/components/UnsupportedDesktopBrowser.js 查看文件

6
 import { translate } from '../../base/i18n';
6
 import { translate } from '../../base/i18n';
7
 import { Platform } from '../../base/react';
7
 import { Platform } from '../../base/react';
8
 
8
 
9
-import { CHROME, FIREFOX, IE, SAFARI } from './browserLinks';
9
+import { CHROME, EDGE, FIREFOX, SAFARI } from './browserLinks';
10
 
10
 
11
 /**
11
 /**
12
  * The namespace of the CSS styles of UnsupportedDesktopBrowser.
12
  * The namespace of the CSS styles of UnsupportedDesktopBrowser.
81
             break;
81
             break;
82
 
82
 
83
         case 'windows':
83
         case 'windows':
84
-            link = IE;
85
-            text = 'Internet Explorer';
84
+            link = EDGE;
85
+            text = 'Edge';
86
             break;
86
             break;
87
         }
87
         }
88
         if (typeof link !== 'undefined') {
88
         if (typeof link !== 'undefined') {

+ 5
- 5
react/features/unsupported-browser/components/browserLinks.js 查看文件

15
 export const CHROMIUM = 'http://www.chromium.org/';
15
 export const CHROMIUM = 'http://www.chromium.org/';
16
 
16
 
17
 /**
17
 /**
18
- * The URL at which Mozilla Firefox is available for download.
18
+ * The URL at which Microsoft Edge is available for download.
19
  *
19
  *
20
  * @type {string}
20
  * @type {string}
21
  */
21
  */
22
-export const FIREFOX = 'http://www.getfirefox.com/';
22
+export const EDGE
23
+    = 'https://www.microsoft.com/en-us/windows/microsoft-edge';
23
 
24
 
24
 /**
25
 /**
25
- * The URL at which Microsoft Internet Explorer is available for download.
26
+ * The URL at which Mozilla Firefox is available for download.
26
  *
27
  *
27
  * @type {string}
28
  * @type {string}
28
  */
29
  */
29
-export const IE
30
-    = 'https://www.microsoft.com/en-us/download/internet-explorer.aspx';
30
+export const FIREFOX = 'http://www.getfirefox.com/';
31
 
31
 
32
 /**
32
 /**
33
  * The URL at which Safari is available for download.
33
  * The URL at which Safari is available for download.

正在加载...
取消
保存