Skip to content

Commit fc1432f

Browse files
committed
This is probably the right way to do it for ie7/8
1 parent 9c54421 commit fc1432f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/js/detect/os.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,9 +965,9 @@ window.os_detect.getVersion = function(){
965965
// IE8 detection straight from IEBlog. Thank you Microsoft.
966966
if (!ua_version) {
967967
if (css_is_valid('display', 'display', 'table-cell')) {
968-
ua_version = '8.0';
969-
} else {
970968
ua_version = '7.0';
969+
} else {
970+
ua_version = '8.0';
971971
}
972972
}
973973
} else if (document.compatMode) {

0 commit comments

Comments
 (0)