Skip to main content

Bug Tracker

Side navigation

Ticket #1537: 1537.diff


File 1537.diff, 0.5 KB (added by brandon, October 01, 2007 12:42PM UTC)

Patch

Index: src/core.js
===================================================================
--- src/core.js	(revision 3498)
+++ src/core.js	(working copy)
@@ -1149,7 +1149,7 @@
 
 // Figure out what browser is being used
 jQuery.browser = {
-	version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1],
+	version: (userAgent.match( /.+(?:rv|it|era|ie)[\/: ]([\d.]+)/ ) || [])[1],
 	safari: /webkit/.test( userAgent ),
 	opera: /opera/.test( userAgent ),
 	msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),

Download in other formats:

Original Format