aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index ebe1f8c5f..118b41487 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1799,7 +1799,7 @@ new function() {
// Figure out what browser is being used
jQuery.browser = {
- version: b.match(/.+[xiae][\/ ]([\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),