From b98e37c6ac1dd13fff313010b67478403ede3fc3 Mon Sep 17 00:00:00 2001 From: Ivan Carosati Date: Mon, 7 Dec 2015 16:17:10 -0500 Subject: [PATCH] Vivaldi version number is now parsed correctly. --- src/bowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bowser.js b/src/bowser.js index 85d5a3f..4448d3c 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -92,7 +92,7 @@ result = { name: 'Vivaldi' , 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)) {