feat(UnsupportedDesktopBrowser): recommend Edge, not IE
This commit is contained in:
parent
87fa8de815
commit
7fcc95c9da
|
@ -6,7 +6,7 @@ import React, { Component } from 'react';
|
|||
import { translate } from '../../base/i18n';
|
||||
import { Platform } from '../../base/react';
|
||||
|
||||
import { CHROME, FIREFOX, IE, SAFARI } from './browserLinks';
|
||||
import { CHROME, EDGE, FIREFOX, SAFARI } from './browserLinks';
|
||||
|
||||
/**
|
||||
* The namespace of the CSS styles of UnsupportedDesktopBrowser.
|
||||
|
@ -81,8 +81,8 @@ class UnsupportedDesktopBrowser extends Component<*> {
|
|||
break;
|
||||
|
||||
case 'windows':
|
||||
link = IE;
|
||||
text = 'Internet Explorer';
|
||||
link = EDGE;
|
||||
text = 'Edge';
|
||||
break;
|
||||
}
|
||||
if (typeof link !== 'undefined') {
|
||||
|
|
|
@ -14,6 +14,14 @@ export const CHROME = 'http://google.com/chrome';
|
|||
*/
|
||||
export const CHROMIUM = 'http://www.chromium.org/';
|
||||
|
||||
/**
|
||||
* The URL at which Microsoft Edge is available for download.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const EDGE
|
||||
= 'https://www.microsoft.com/en-us/windows/microsoft-edge';
|
||||
|
||||
/**
|
||||
* The URL at which Mozilla Firefox is available for download.
|
||||
*
|
||||
|
@ -21,14 +29,6 @@ export const CHROMIUM = 'http://www.chromium.org/';
|
|||
*/
|
||||
export const FIREFOX = 'http://www.getfirefox.com/';
|
||||
|
||||
/**
|
||||
* The URL at which Microsoft Internet Explorer is available for download.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const IE
|
||||
= 'https://www.microsoft.com/en-us/download/internet-explorer.aspx';
|
||||
|
||||
/**
|
||||
* The URL at which Safari is available for download.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue