mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-19 06:53:53 +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
|
||||
if (window.navigator.userAgent.indexOf("MSIE ") >= 0) {
|
||||
// Check IE including IE11.
|
||||
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 :)');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue