This is probably the right way to do it for ie7/8

bug/bundler_fix
sinn3r 2014-03-27 13:53:24 -05:00
parent 9c54421679
commit fc1432fe53
1 changed files with 2 additions and 2 deletions

View File

@ -965,9 +965,9 @@ window.os_detect.getVersion = function(){
// IE8 detection straight from IEBlog. Thank you Microsoft.
if (!ua_version) {
if (css_is_valid('display', 'display', 'table-cell')) {
ua_version = '8.0';
} else {
ua_version = '7.0';
} else {
ua_version = '8.0';
}
}
} else if (document.compatMode) {