Merge pull request #429 from nunocoracao/416-bug-views-and-likes-causes-undefined

🐛 removed unexistent onload call
This commit is contained in:
Nuno Coração 2023-01-14 02:21:03 +00:00 committed by GitHub
commit 1c8092be9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,5 @@
{{/* TypeIt */}}
{{ if .Page.HasShortcode "typeit" }}
{{ $typeitLib := resources.Get "lib/typeit/typeit.umd.js" }}
<script defer src="{{ $typeitLib.RelPermalink }}" integrity="{{ $typeitLib.Data.Integrity }}"
onload="renderTypeItElements();"></script>
<script defer src="{{ $typeitLib.RelPermalink }}" integrity="{{ $typeitLib.Data.Integrity }}"></script>
{{ end }}