Skip to content

Commit

Permalink
Fix #509 add support for Internet Explorer 8
Browse files Browse the repository at this point in the history
  • Loading branch information
liujunlve committed Jul 30, 2021
1 parent 299283c commit 825edbb
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 @@ -114,6 +114,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 825edbb

Please sign in to comment.