diff --git a/api/js/jsapi/jsapi.js b/api/js/jsapi/jsapi.js index 60475e4c55..34eecc7e4b 100644 --- a/api/js/jsapi/jsapi.js +++ b/api/js/jsapi/jsapi.js @@ -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; +}; \ No newline at end of file