Skip to content

Commit 97aaf1c

Browse files
committed
Update main.ts
1 parent 32d1d33 commit 97aaf1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function _handleScroll(app: App, plugin: FloatingToc, evt: Event): any {
220220
let lastline = parseInt(
221221
floattoc.lastElementChild?.getAttribute("data-line")
222222
);
223-
//滚动到顶部,指示器定位到顶部
223+
//滚动到顶部,指示器定位到顶部
224224
if (current_line <= 0) {
225225
let prevLocation = floattoc.querySelector(
226226
".heading-list-item.located"

0 commit comments

Comments
 (0)