Skip to content

Commit

Permalink
More permissive with IE warning (elastic#70388) (elastic#70509)
Browse files Browse the repository at this point in the history
Show the IE11 warning regardless of if the user supresses the warning

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
snide and elasticmachine authored Jul 2, 2020
1 parent aa4d3f4 commit 63e21c5
Show file tree
Hide file tree
Showing 2 changed files with 299 additions and 509 deletions.
40 changes: 20 additions & 20 deletions src/core/public/chrome/chrome_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,27 +185,27 @@ export class ChromeService {
/>
),
});
}

if (isIE()) {
notifications.toasts.addWarning({
title: mountReactNode(
<FormattedMessage
id="core.chrome.browserDeprecationWarning"
defaultMessage="Support for Internet Explorer will be dropped in future versions of this software, please check {link}."
values={{
link: (
<EuiLink target="_blank" href="https://www.elastic.co/support/matrix" external>
<FormattedMessage
id="core.chrome.browserDeprecationLink"
defaultMessage="the support matrix on our website"
/>
</EuiLink>
),
}}
/>
),
});
}
if (isIE()) {
notifications.toasts.addWarning({
title: mountReactNode(
<FormattedMessage
id="core.chrome.browserDeprecationWarning"
defaultMessage="Support for Internet Explorer will be dropped in future versions of this software, please check {link}."
values={{
link: (
<EuiLink target="_blank" href="https://www.elastic.co/support/matrix" external>
<FormattedMessage
id="core.chrome.browserDeprecationLink"
defaultMessage="the support matrix on our website"
/>
</EuiLink>
),
}}
/>
),
});
}

return {
Expand Down
Loading

0 comments on commit 63e21c5

Please sign in to comment.