Skip to main content

Bug Tracker

Side navigation

Ticket #3402: ieversion2.patch
File ieversion2.patch, 0.2 KB (added by dbergey, September 24, 2008 05:14PM UTC)

Updated patch (fewer lines, future-proofed)

1232a1233,1236
> // Ensure that we are reporting the highest IE vesion present in userAgent string
> if ( jQuery.browser.msie )
> 	jQuery.browser.version = ( userAgent.match( /ie ([\d.]+)/ig ) || [] ).sort().pop().replace( /[^\d.]/g, '' );
>

Download in other formats:

Original Format