mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-30 22:16:46 -06:00
add stop propagation for hashtag
This commit is contained in:
parent
5af650215f
commit
8dd0c35a74
1 changed files with 3 additions and 0 deletions
|
@ -383,6 +383,9 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext<MfmEven
|
|||
to: isNote ? `/tags/${encodeURIComponent(token.props.hashtag)}` : `/user-tags/${encodeURIComponent(token.props.hashtag)}`,
|
||||
style: 'color:var(--MI_THEME-hashtag);',
|
||||
behavior: props.linkNavigationBehavior,
|
||||
onClick(ev: MouseEvent): void {
|
||||
ev.stopPropagation();
|
||||
},
|
||||
}, `#${token.props.hashtag}`)];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue