Skip to content

Commit 56fff2f

Browse files
committed
feat: update
1 parent 43377ac commit 56fff2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

epub_browser/assets/chapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ function initScript() {
692692
// 滚动到指定位置 - 使用 smooth 滚动
693693
content.scrollTo({
694694
left: scrollPosition,
695-
// behavior: 'smooth'
695+
behavior: 'instant' // 立即滚动
696696
});
697697

698698
// 更新当前页面索引

0 commit comments

Comments
 (0)