From 4fb1a32ec1b7ec0e968eb95e991f89e881706337 Mon Sep 17 00:00:00 2001 From: Jack Walker Date: Mon, 27 Apr 2020 13:25:07 +1000 Subject: [PATCH] Fixed bug in IE10 detection. Missing bang on git add .window.XDomainRequest --- core/main/client/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main/client/browser.js b/core/main/client/browser.js index 56fff23f8..cfa0b7a77 100644 --- a/core/main/client/browser.js +++ b/core/main/client/browser.js @@ -109,7 +109,7 @@ beef.browser = { * @example: beef.browser.isIE10() */ isIE10: function () { - return !!window.XMLHttpRequest && !window.chrome && !window.opera && !!document.documentMode && !window.XDomainRequest && !!window.performance && typeof navigator.msMaxTouchPoints !== "undefined"; + return !!window.XMLHttpRequest && !window.chrome && !window.opera && !!document.documentMode && !!window.XDomainRequest && !!window.performance && typeof navigator.msMaxTouchPoints !== "undefined"; }, /**