Skip to content

Commit ec61398

Browse files
Copilotcyanzhong
andauthored
Add stopPropagation() to relative link click handler
Agent-Logs-Url: https://github.com/MarkEdit-app/MarkEdit-preview/sessions/f529384f-2def-40e2-a1bb-bc5bdfde21d0 Co-authored-by: cyanzhong <6745066+cyanzhong@users.noreply.github.com>
1 parent d41be5f commit ec61398

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/view.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export function setUp() {
8686
}
8787

8888
event.preventDefault();
89+
event.stopPropagation();
8990

9091
const basePath = (await MarkEdit.getFileInfo())?.parentPath;
9192
if (basePath === undefined) {

0 commit comments

Comments
 (0)