Fixed bug in IE10 detection. Missing bang on git add .window.XDomainRequest

This commit is contained in:
Jack Walker
2020-04-27 13:25:07 +10:00
parent bd743106f2
commit 4fb1a32ec1

View File

@@ -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";
},
/**