diff --git a/docs/pages/13.i18n/docs.md b/docs/pages/13.i18n/docs.md index 220d4565..98a58a51 100644 --- a/docs/pages/13.i18n/docs.md +++ b/docs/pages/13.i18n/docs.md @@ -7,7 +7,7 @@ process: never_cache_twig: true --- -{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.11/js/i18n/es.js', 90) %} +{% do assets.addJs('https://cdn.jsdelivr.net/npm/select2@4.0.10/dist/js/i18n/es.js', 90) %} ## Message translations diff --git a/docs/themes/site/templates/partials/base.html.twig b/docs/themes/site/templates/partials/base.html.twig index de67b339..3b9a1cf8 100644 --- a/docs/themes/site/templates/partials/base.html.twig +++ b/docs/themes/site/templates/partials/base.html.twig @@ -17,7 +17,7 @@ {% do assets.addCss('theme://css/custom.css',100) %} {% do assets.addCss('theme://css/font-awesome.min.css',100) %} {% do assets.addCss('theme://css/featherlight.min.css') %} - {% do assets.addCss('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.11/css/select2.min.css') %} + {% do assets.addCss('https://cdn.jsdelivr.net/npm/select2@4.0.11/dist/css/select2.min.css') %} {% do assets.addCss('theme://css/s2-docs.css', 100) %} {% do assets.addCss('theme://css/theme.css',100) %} @@ -33,7 +33,7 @@ {% block javascripts %} {% do assets.addJs('jquery',101) %} {% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %} - {% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.11/js/select2.full.min.js', 100) %} + {% do assets.addJs('https://cdn.jsdelivr.net/npm/select2@4.0.11/dist/js/select2.full.min.js', 100) %} {% do assets.addJs('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js', 100) %} {% do assets.addJs('theme://js/featherlight.min.js') %} {% do assets.addJs('theme://js/clipboard.min.js') %}