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,6 +1,6 @@
|
||||||
// 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 :)');
|
||||||
}
|
}
|
||||||
|
|
||||||
var LSdefault = new Class({
|
var LSdefault = new Class({
|
||||||
|
|
Loading…
Reference in a new issue