Commit 8baa642a authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1735027: Work around for when inbuilt Number.isInteger is not...

Merge "Bug 1735027: Work around for when inbuilt Number.isInteger is not defined, eg Internet Explorer 11 "
parents c06a3565 1737f979
......@@ -1013,3 +1013,12 @@ function keytabbinginadialog(dialog, firstelement, lastelement) {
}
});
}
/*
* fix for Internet Explorer where Number.isInteger is not defined
*/
Number.isInteger = Number.isInteger || function(value) {
return typeof value === "number" &&
isFinite(value) &&
Math.floor(value) === value;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment