Skip to content

Commit

Permalink
fix version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Apr 5, 2023
1 parent 829fdd7 commit 37b13bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = (function () {
if (safariVersion) {
// Starting from 16.4 version Safari content blockers supports :has() pseudo-class.
// https://www.webkit.org/blog/13966/webkit-features-in-safari-16-4/
safariVersion = parseFloat(safariVersion, 10);
safariVersion = parseFloat(safariVersion);
} else {
log.warn('Unable to detect Safari browser version');
}
Expand Down

0 comments on commit 37b13bd

Please sign in to comment.