Bug Tracker

Ticket #3402: ieversion.patch

File ieversion.patch, 360 bytes (added by dbergey, 11 years ago)
Line 
11232a1233,1241
2> // Ensure that we are reporting the highest IE version present in userAgent string
3> if (jQuery.browser.msie) {
4>       jQuery.browser.version =
5>               ( userAgent.match( /ie (8([\d.]*))/ ) || [] )[1] ||
6>               ( userAgent.match( /ie (7([\d.]*))/ ) || [] )[1] ||
7>               ( userAgent.match( /ie (6([\d.]*))/ ) || [] )[1] ||
8>               jQuery.browser.version;
9> }
10>