diff --git a/bowser.js b/bowser.js index c19137c..ec0931b 100644 --- a/bowser.js +++ b/bowser.js @@ -50,7 +50,7 @@ } if (opera) return { opera: t - , version: ua.match(webkitVersion) ? ua.match(webkitVersion)[1] : ua.match(/opr\/(\d+(\.\d+)?)/i) + , version: ua.match(webkitVersion) ? ua.match(webkitVersion)[1] : ua.match(/opr\/(\d+(\.\d+)?)/i)[1] } if (chrome) return { webkit: t