X-Git-Url: https://git.r.bdr.sh/rbdr/cologne/blobdiff_plain/335637478e6ee83862de720a2d85437a8b0bdf01..adc1a8da06f8af4c06a311ca459de4dcf379f5fd:/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(); }