Skip to content

Commit

Permalink
Merge pull request #510 from L15018105103/ie8-fix
Browse files Browse the repository at this point in the history
Fix #509 add support for Internet Explorer 8
  • Loading branch information
faisalman authored Jan 26, 2023
2 parents 1a521b8 + 825edbb commit 97e4a89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
// try matching uastring with regexes
while (j < regex.length && !matches) {

if (!regex[j]) { break; }
matches = regex[j++].exec(ua);

if (!!matches) {
Expand Down

0 comments on commit 97e4a89

Please sign in to comment.