mirror of https://github.com/rancher/ui.git
Include EdgeHTML based browers to blacklist
We don't support the EdgeHTML browsers just like we don't support Internet Explorer. I added EdgeHTML to the blacklist so that we will display the unsupported page. rancher/rancher#23909
This commit is contained in:
parent
62bee3bdf0
commit
9c010cd66b
|
|
@ -26,7 +26,8 @@ export default Route.extend({
|
|||
|
||||
let agent = window.navigator.userAgent.toLowerCase();
|
||||
|
||||
if ( agent.indexOf('msie ') >= 0 || agent.indexOf('trident/') >= 0 ) {
|
||||
// Show the we don't support internet explorer or edge browsers (only edge html based browsers the mobile and chromium based browsers should be okay).
|
||||
if ( agent.indexOf('msie ') >= 0 || agent.indexOf('trident/') >= 0 || agent.indexOf('edge/') >= 0) {
|
||||
this.replaceWith('ie');
|
||||
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
<br><br>
|
||||
<div class="sad-ie"></div>
|
||||
<br><br>
|
||||
<h3s>Sorry, IE is not supported.</h3s>
|
||||
<h3s>Sorry, IE and Edge are not supported.</h3s>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in New Issue