Skip to content

Commit

Permalink
Merge 04aafcf into fe2f44c
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Nov 17, 2020
2 parents fe2f44c + 04aafcf commit 1266a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'loadEventStart'
];

if (!win || !win.performance || typeof win.performance !== 'object') {
if (!win || !win.performance || typeof win.performance !== 'object' || !win.performance.timing) {
return timing2;
}

Expand Down

0 comments on commit 1266a53

Please sign in to comment.