diff options
| author | XhmikosR <[email protected]> | 2023-08-22 15:19:51 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2024-03-05 20:34:45 +0200 |
| commit | 58880cfbaccd5438ddb735eed5cec6f29bfbe017 (patch) | |
| tree | c21fc86883823e6b10bf63dba3531f4146a5862b /site/layouts/partials/scripts.html | |
| parent | 59231069e9dc81355214bb002af0126d5e15da8c (diff) | |
| download | bootstrap-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.html | 2 |
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 }} |
