From b5b5f0cd1a30ab7aa0af336692c591b28a64871b Mon Sep 17 00:00:00 2001 From: bcoles Date: Mon, 23 Apr 2012 14:44:03 +0930 Subject: [PATCH] Fixed bug in IE version detection --- core/main/client/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/main/client/browser.js b/core/main/client/browser.js index eea3e22b1..321d5f0c4 100644 --- a/core/main/client/browser.js +++ b/core/main/client/browser.js @@ -49,7 +49,7 @@ beef.browser = { * @example: beef.browser.isIE8() */ isIE8: function() { - return !!window.XMLHttpRequest && !window.chrome && !window.opera && !window.getComputedStyle && !!document.documentMode && !!window.XDomainRequest && !window.performance; + return !!window.XMLHttpRequest && !window.chrome && !window.opera && !!document.documentMode && !!window.XDomainRequest && !window.performance; }, /** @@ -57,7 +57,7 @@ beef.browser = { * @example: beef.browser.isIE9() */ isIE9: function() { - return !!window.XMLHttpRequest && !window.chrome && !window.opera && !!window.getComputedStyle && !!document.documentMode && !!window.XDomainRequest && !!window.performance; + return !!window.XMLHttpRequest && !window.chrome && !window.opera && !!document.documentMode && !!window.XDomainRequest && !!window.performance; }, /**