mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 06:38:30 -04:00
revert adding async
to some embed scripts
document.write() isn't allowed on asynchronously loaded scripts
This commit is contained in:
parent
f6e9f9ee3a
commit
dc3f1cb07c
@ -1,3 +1,3 @@
|
||||
<div class="embed gist">
|
||||
<script async defer src="https://gist.github.com/{{ .Get "id" }}.js{{ with .Get "file" }}?file={{ . }}{{ end }}"></script>
|
||||
<script src="https://gist.github.com/{{ .Get "id" }}.js{{ with .Get "file" }}?file={{ . }}{{ end }}"></script>
|
||||
</div>
|
||||
|
@ -6,5 +6,5 @@
|
||||
</div>
|
||||
|
||||
{{- define "__shortcode_instagram_js" }}
|
||||
<script async defer src="https://www.instagram.com/embed.js"></script>
|
||||
<script async src="https://www.instagram.com/embed.js"></script>
|
||||
{{- end }}
|
||||
|
@ -3,5 +3,5 @@
|
||||
</div>
|
||||
|
||||
{{- define "__shortcode_vimeo_js" }}
|
||||
<script async defer src="https://player.vimeo.com/api/player.js"></script>
|
||||
<script src="https://player.vimeo.com/api/player.js"></script>
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user