From c1827604f99a490aee9ffddb556e00ec1d49d1d5 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 19 Dec 2024 14:54:00 +0800 Subject: fix: turn on swup animation --- layouts/partials/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/scripts.html') 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); -- cgit v1.2.3