mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +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,6 +1,6 @@
|
|||
// Check IE
|
||||
if (window.navigator.userAgent.indexOf("MSIE ") >= 0) {
|
||||
alert('Internet Explorer is no longer supported. Thank you for using or installing a browser of our time :)');
|
||||
// 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 :)');
|
||||
}
|
||||
|
||||
var LSdefault = new Class({
|
||||
|
|
Loading…
Reference in a new issue