Skip to main content

Bug Tracker

Side navigation

Ticket #3402: ieversion.patch


File ieversion.patch, 0.4 KB (added by dbergey, September 23, 2008 04:42PM UTC)
1232a1233,1241
> // Ensure that we are reporting the highest IE version present in userAgent string
> if (jQuery.browser.msie) {
> 	jQuery.browser.version =
> 		( userAgent.match( /ie (8([\d.]*))/ ) || [] )[1] ||
> 		( userAgent.match( /ie (7([\d.]*))/ ) || [] )[1] ||
> 		( userAgent.match( /ie (6([\d.]*))/ ) || [] )[1] ||
> 		jQuery.browser.version;
> }
>

Download in other formats:

Original Format