Skip to content

Commit

Permalink
Add hotfix for nested links strange behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Jun 27, 2023
1 parent 9056593 commit 791479d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/shared/markdown/LinkInterceptor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function LinkInterceptor(
const matchedCommunityHandle = matchLemmyCommunity(url.pathname);
if (url.hostname === connectedInstance && matchedCommunityHandle) {
e.preventDefault();
e.stopPropagation();

const [communityName, domain] = matchedCommunityHandle;

Expand Down

0 comments on commit 791479d

Please sign in to comment.