Skip to content

Commit

Permalink
Update browserDetails.version to return int
Browse files Browse the repository at this point in the history
fixes #1151
  • Loading branch information
xingri committed Mar 28, 2024
1 parent 9922431 commit 65038a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export function detectBrowser(window) {
return brand.brand === 'Chromium';
});
if (chromium) {
return {browser: 'chrome', version: chromium.version};
return {browser: 'chrome', version: parseInt(chromium.version)};
}
}

Expand Down

0 comments on commit 65038a4

Please sign in to comment.