diff options
| author | Eltrac <hi@guhub.cn> | 2024-12-19 14:54:00 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2024-12-19 14:54:00 +0800 |
| commit | c1827604f99a490aee9ffddb556e00ec1d49d1d5 (patch) | |
| tree | 804f656dfe61101c765565780b8846c325c8d82b /layouts/partials | |
| parent | 5670cc623b9977024345d345357018b8dfefda1c (diff) | |
fix: turn on swup animation
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/scripts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 218ae4be..a2cbb997 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -26,6 +26,6 @@ function loadWalineComment() { loadWalineComment(); /* === swup === */ -const swup = new Swup({ animationSelector: false }); +const swup = new Swup(); swup.hooks.on('page:view', loadWalineComment); </script> |
