Fix: getChromeVersion
This commit is contained in:
parent
dff7fd1f7e
commit
39a10079c4
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
function getChromeVersion() {
|
function getChromeVersion() {
|
||||||
const match = navigator.userAgent.match(/chrome\/(\d+)/i);
|
const match = navigator.userAgent.match(/chrome\/(\d+)/i);
|
||||||
return match && Number(match[1]);
|
return match ? Number(match[1]) : undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user