X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/e9b602cf60562b6baff5a0ddfddc434818b93e65..daf011e64210fee392a909eb26c4d551faccb172:/lib/cobalt.js diff --git a/lib/cobalt.js b/lib/cobalt.js index 981aab2..17e6948 100644 --- a/lib/cobalt.js +++ b/lib/cobalt.js @@ -239,7 +239,7 @@ // Returns the current time in microseconds. now : function () { - if (typeof performance !== 'undefined') { + if (typeof performance !== 'undefined' && performance.timing) { return performance.timing.navigationStart + performance.now(); }