diff --git a/www/common/boot2.js b/www/common/boot2.js index ec3b3d7db..11dfa1649 100644 --- a/www/common/boot2.js +++ b/www/common/boot2.js @@ -21,6 +21,11 @@ define([ }; } + // RPC breaks if you don't support Number.MAX_SAFE_INTEGER + if (Number && !Number.MAX_SAFE_INTEGER) { + Number.MAX_SAFE_INTEGER = 9007199254740991; + } + var failStore = function () { console.error(new Error('wut')); require(['jquery'], function ($) {