From ca531614601bf50d49698c468c0ca7a9ecd55a21 Mon Sep 17 00:00:00 2001 From: Tam Date: Thu, 27 Jun 2024 11:15:38 +0100 Subject: [PATCH] Remove Polyfill.io --- src/fields/MapField.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fields/MapField.php b/src/fields/MapField.php index dfd2f3a..6c266de 100644 --- a/src/fields/MapField.php +++ b/src/fields/MapField.php @@ -479,7 +479,6 @@ private function _renderMap (Map $value, bool $isSettings = false): string $containerId = 'map-' . $this->id . 'container'; $vueContainerId = $view->namespaceInputId($containerId); - $view->registerJsFile('https://polyfill.io/v3/polyfill.min.js?flags=gated&features=default%2CIntersectionObserver%2CIntersectionObserverEntry'); $view->registerAssetBundle(MapAsset::class); $view->registerJs('new Vue({ el: \'#' . $vueContainerId . '\' });'); $view->registerTranslations('simplemap', [