Skip to content

Commit 132b8b6

Browse files
committed
Update live-view.js
1 parent 9179502 commit 132b8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

live-view/live-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ async function renderLiveViewMarkdown(file) {
11551155

11561156
e.preventDefault();
11571157

1158-
const target = document.querySelector(href);
1158+
const target = frameDoc.querySelector(href);
11591159
target.scrollIntoView();
11601160

11611161
};

0 commit comments

Comments
 (0)