We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 078ad83 commit 0210e74Copy full SHA for 0210e74
src/history/html5.js
@@ -14,7 +14,9 @@ import {
14
} from '../util/scroll-position'
15
16
// use User Timing api (if present) for more accurate key precision
17
-const Time = inBrowser ? (window.performance || Date) : Date
+const Time = inBrowser && window.performance && window.performance.now
18
+ ? window.performance
19
+ : Date
20
21
const genKey = () => String(Time.now())
22
let _key: string = genKey()
0 commit comments