瀏覽代碼

feat(UnsupportedDesktopBrowser): recommend Edge, not IE

master
Saúl Ibarra Corretgé 7 年之前
父節點
當前提交
7fcc95c9da

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

@@ -6,7 +6,7 @@ import React, { Component } from 'react';
6 6
 import { translate } from '../../base/i18n';
7 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 12
  * The namespace of the CSS styles of UnsupportedDesktopBrowser.
@@ -81,8 +81,8 @@ class UnsupportedDesktopBrowser extends Component<*> {
81 81
             break;
82 82
 
83 83
         case 'windows':
84
-            link = IE;
85
-            text = 'Internet Explorer';
84
+            link = EDGE;
85
+            text = 'Edge';
86 86
             break;
87 87
         }
88 88
         if (typeof link !== 'undefined') {

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

@@ -15,19 +15,19 @@ export const CHROME = 'http://google.com/chrome';
15 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 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 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 33
  * The URL at which Safari is available for download.

Loading…
取消
儲存