mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
IE 11 and below does not support ES6 syntax we need to use some polyfills
This commit is contained in:
parent
73686462d2
commit
3d9ee69f49
@ -818,3 +818,9 @@ jQuery(function(){
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// IE does not support ES6 therefore we need to use polyfill function
|
||||||
|
Number.isInteger = Number.isInteger || function(value) {
|
||||||
|
return typeof value === 'number' &&
|
||||||
|
isFinite(value) &&
|
||||||
|
Math.floor(value) === value;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user