🐛 Fix: typo in typeit initialization

Oops! O><O||| 🍻
This commit is contained in:
Cell
2024-09-10 17:39:35 +08:00
parent 617e2df2e6
commit b76e6af972
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -757,7 +757,7 @@ class FixIt {
waitUntilVisible: true,
loop: singleData.loop ? singleData.loop === 'true' : loop,
afterComplete: () => {
const duration = Number(singleData.duration ?? vtypeitConfig.duration);
const duration = Number(singleData.duration ?? typeitConfig.duration);
if (i === group.length - 1) {
if (duration >= 0) {
window.setTimeout(() => {
+1 -1
View File
@@ -24,7 +24,7 @@ sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
simple-icons@9.19.0 https://github.com/simple-icons/simple-icons
twemoji@14.0.2 https://github.com/twitter/twemoji
twikoo@1.6.22 https://github.com/imaegoo/twikoo
typeit@8.7.1 https://github.com/alexmacarthur/typeit
typeit@8.8.4 https://github.com/alexmacarthur/typeit
valine@1.5.2 https://github.com/xCss/Valine
waline@2.15.8 https://github.com/walinejs/waline
xxhash-wasm@1.0.2 https://github.com/jungomi/xxhash-wasm
+1 -1
View File
@@ -47,7 +47,7 @@
{{- if $profile.typeit -}}
<span class="d-none">{{ . }}</span>
{{- $.Store.Set "hasTyped" true -}}
<span class="typeit"><template>{{ . }}</template></span>
<span class="typeit"><template>{{ . | safeHTML }}</template></span>
{{- else -}}
{{- . | safeHTML -}}
{{- end -}}
+1 -1
View File
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.12-dafc2665" -}}
{{- .Scratch.Set "version" "v0.3.12-617e2df2" -}}
{{- .Scratch.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}