mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
IE 11 and below does not support ES6 syntax we need to use some polyfills
This commit is contained in:
parent
b87e81b1d6
commit
73b6ab8128
@ -830,4 +830,11 @@ jQuery(function(){
|
|||||||
|
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
jQuery('head').append('<link rel="manifest" href="/egroupware/pixelegg/manifest.json">');
|
jQuery('head').append('<link rel="manifest" href="/egroupware/pixelegg/manifest.json">');
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 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