mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Vivaldi version number is now parsed correctly.
This commit is contained in:
parent
b01795c475
commit
b98e37c6ac
@ -92,7 +92,7 @@
|
|||||||
result = {
|
result = {
|
||||||
name: 'Vivaldi'
|
name: 'Vivaldi'
|
||||||
, vivaldi: t
|
, vivaldi: t
|
||||||
, version: versionIdentifier || getFirstMatch(/vivaldi[\d]+\/(\d+(\.\d+)?)/i)
|
, version: getFirstMatch(/vivaldi\/(\d+(\.\d+)?)/i) || versionIdentifier
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (/chrome|crios|crmo/i.test(ua)) {
|
else if (/chrome|crios|crmo/i.test(ua)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user