From f6ce19f167d2759b6299c2b9ad4acb9111b270c7 Mon Sep 17 00:00:00 2001 From: XPoet Date: Fri, 14 Oct 2022 09:52:56 +0800 Subject: [PATCH] style(post-helper): anime duration 200 -> 300 --- source/js/post-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/post-helper.js b/source/js/post-helper.js index c5a526a..ccd65e5 100644 --- a/source/js/post-helper.js +++ b/source/js/post-helper.js @@ -71,7 +71,7 @@ function initToggleShowToc() { const offset = commentsAnchor.getBoundingClientRect().top + winScrollY window.anime({ targets: document.scrollingElement, - duration: 200, + duration: 300, easing: 'linear', scrollTop: offset, complete: () => {