IE 11 and below does not support ES6 syntax we need to use some polyfills

This commit is contained in:
Hadi Nategh 2018-08-10 10:31:40 +02:00
parent b87e81b1d6
commit 73b6ab8128

View File

@ -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;
};