From fc1432fe53a2469da69621a062b15247e131d46e Mon Sep 17 00:00:00 2001 From: sinn3r Date: Thu, 27 Mar 2014 13:53:24 -0500 Subject: [PATCH] This is probably the right way to do it for ie7/8 --- data/js/detect/os.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/js/detect/os.js b/data/js/detect/os.js index 1b215fbf9b..124e5b7923 100644 --- a/data/js/detect/os.js +++ b/data/js/detect/os.js @@ -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) {