diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 1d0d28133..e846e4dff 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1811,7 +1811,7 @@ new function() { // Figure out what browser is being used jQuery.browser = { - version: b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1], + version: (b.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [])[1], safari: /webkit/.test(b), opera: /opera/.test(b), msie: /msie/.test(b) && !/opera/.test(b),