mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Don't add the crossorigin attribute unless we pass integrity. (#29112)
This commit is contained in:
parent
ebb1eea520
commit
d7a62b505c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
{{- end }}
|
||||
|
||||
{{ range .Page.Params.extra_js -}}
|
||||
<script{{ with .async }} async{{ end }} src="{{ .src }}"{{ with .integrity }} integrity="{{ . }}"{{ end }} crossorigin="anonymous"></script>
|
||||
<script{{ with .async }} async{{ end }} src="{{ .src }}"{{ with .integrity }} integrity="{{ . }}" crossorigin="anonymous"{{ end }}></script>
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue