aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/partials/scripts.html
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2023-08-22 15:19:51 +0300
committerXhmikosR <[email protected]>2024-03-05 20:34:45 +0200
commit58880cfbaccd5438ddb735eed5cec6f29bfbe017 (patch)
treec21fc86883823e6b10bf63dba3531f4146a5862b /site/layouts/partials/scripts.html
parent59231069e9dc81355214bb002af0126d5e15da8c (diff)
downloadbootstrap-58880cfbaccd5438ddb735eed5cec6f29bfbe017.tar.xz
bootstrap-58880cfbaccd5438ddb735eed5cec6f29bfbe017.zip
Remove useless crossorigin="anonymous" attributes
Diffstat (limited to 'site/layouts/partials/scripts.html')
-rw-r--r--site/layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/partials/scripts.html b/site/layouts/partials/scripts.html
index dc92d30e5..facb7d384 100644
--- a/site/layouts/partials/scripts.html
+++ b/site/layouts/partials/scripts.html
@@ -1,5 +1,5 @@
{{ if eq hugo.Environment "production" -}}
- <script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.min.js" {{ printf "integrity=%q" .Site.Params.cdn.js_bundle_hash | safeHTMLAttr }} crossorigin="anonymous"></script>
+ <script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.min.js" {{ printf "integrity=%q" .Site.Params.cdn.js_bundle_hash | safeHTMLAttr }}></script>
{{ else -}}
<script src="/docs/{{ .Site.Params.docs_version }}/dist/js/bootstrap.bundle.js"></script>
{{- end }}