Skip to main content

Bug Tracker

Side navigation

Ticket #2313: browserversion.diff
File browserversion.diff, 0.5 KB (added by cloudream, February 09, 2008 05:50PM UTC)
Index: core.js
===================================================================
--- core.js	(revision 4702)
+++ core.js	(working copy)
@@ -1213,7 +1213,7 @@
 
 // Figure out what browser is being used
 jQuery.browser = {
-	version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1],
+	version: (userAgent.match( /.+(?:ie|rv|it|ra)[\/: ]([\d.]+)/ ) || [])[1],
 	safari: /webkit/.test( userAgent ),
 	opera: /opera/.test( userAgent ),
 	msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),

Download in other formats:

Original Format