Merge pull request #510 from L15018105103/ie8-fix

Fix #509 add support for Internet Explorer 8
This commit is contained in:
Faisal Salman 2023-01-26 08:46:37 +07:00 committed by GitHub
commit 97e4a89685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,7 @@
// try matching uastring with regexes // try matching uastring with regexes
while (j < regex.length && !matches) { while (j < regex.length && !matches) {
if (!regex[j]) { break; }
matches = regex[j++].exec(ua); matches = regex[j++].exec(ua);
if (!!matches) { if (!!matches) {