mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Fix #509 add support for Internet Explorer 8
This commit is contained in:
parent
299283c436
commit
825edbbf91
@ -114,6 +114,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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user