Skip to content

Commit e1d666d

Browse files
committed
fixed
1 parent b90ce48 commit e1d666d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/.vitepress/theme/observe-code-blocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function observeCodeBlocks() {
1919
entries.forEach((entry) => {
2020
if (entry.isIntersecting) {
2121
entry.target.classList.add("visible");
22-
observer.unobserve(entry.target);
22+
languageCellObserver.unobserve(entry.target);
2323
}
2424
});
2525
},

0 commit comments

Comments
 (0)