diff --git a/src/js/utils/browser.js b/src/js/utils/browser.js index 7b8fa5e2..f8dd36a1 100644 --- a/src/js/utils/browser.js +++ b/src/js/utils/browser.js @@ -4,7 +4,7 @@ // ========================================================================== const browser = { - isIE: /* @cc_on!@ */ false || !!document.documentMode, + isIE: Boolean(window.document.documentMode), isEdge: window.navigator.userAgent.includes('Edge'), isWebkit: 'WebkitAppearance' in document.documentElement.style && !/Edge/.test(navigator.userAgent), isIPhone: /(iPhone|iPod)/gi.test(navigator.platform),