We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8298de commit c1b7982Copy full SHA for c1b7982
app/code/Magento/PageBuilder/Block/Adminhtml/Html/Head/BabelPolyfill.php
@@ -17,8 +17,6 @@
17
*/
18
class BabelPolyfill extends Template
19
{
20
- const IE_11_USER_AGENT = 'Trident/7.0; rv:11.0';
21
-
22
/**
23
* @var \Magento\PageBuilder\Model\ConfigInterface
24
@@ -85,6 +83,7 @@ public function getCacheKeyInfo() : array
85
83
86
84
private function isIe11() : bool
87
88
- return strpos($this->httpHeader->getHttpUserAgent(), self::IE_11_USER_AGENT) !== false;
+ return strpos($this->httpHeader->getHttpUserAgent(), 'rv:11.0') !== false
+ && strpos($this->httpHeader->getHttpUserAgent(), 'Trident/7.0;') !== false;
89
}
90
0 commit comments