mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Merge pull request #510 from L15018105103/ie8-fix
Fix #509 add support for Internet Explorer 8
This commit is contained in:
commit
97e4a89685
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user