Bug Tracker

Ticket #3402: ieversion2.patch

File ieversion2.patch, 243 bytes (added by dbergey, 11 years ago)

Updated patch (fewer lines, future-proofed)

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