Skip to content

Commit

Permalink
Merge pull request #1152 from xingri/main
Browse files Browse the repository at this point in the history
Update browserDetails.version to return int
  • Loading branch information
fippo authored Mar 28, 2024
2 parents 9922431 + 66d4ea1 commit b2c0d15
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, 10)};
}
}

Expand Down

0 comments on commit b2c0d15

Please sign in to comment.