mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
Fix Internet Explorer deprecation warning on IE11
This commit is contained in:
parent
ac1626fe22
commit
6e14916bae
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
// Check IE
|
// Check IE including IE11.
|
||||||
if (window.navigator.userAgent.indexOf("MSIE ") >= 0) {
|
if(window.navigator.userAgent.indexOf("MSIE ") >= 0 || window.navigator.userAgent.indexOf('Trident/') >= 0) {
|
||||||
alert('Internet Explorer is no longer supported. Thank you for using or installing a browser of our time :)');
|
alert('Internet Explorer is no longer supported. Thank you for using or installing a browser of our time :)');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue