Revert "Fix undefined error (#1129)"

This reverts commit a5da776d2734f7aae1091d084f0eea978edb57ff.
This commit is contained in:
Maxi Redigonda 2022-05-09 19:12:58 -03:00
parent 615f42a91b
commit 503b79116f

View File

@ -27,7 +27,7 @@
globalIndexPath = "<?=$path ?>";
showLogs = false;
</script>
<?php if ((isset($_SERVER['HTTP_USER_AGENT']) && (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false))): ?>
<?php if (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false)): ?>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=String.prototype.startsWith,Array.from,Array.prototype.fill,Array.prototype.keys,Array.prototype.find,Array.prototype.findIndex,Array.prototype.includes,String.prototype.repeat,Number.isInteger,Promise&flags=gated"></script>
<?php endif; ?>
<script src="<?=$url ?>/bundle.js"></script>