diff options
-rw-r--r-- | src/plugins/vcDoubleClick.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcDoubleClick.ts b/src/plugins/vcDoubleClick.ts index 3600ac1..e822db4 100644 --- a/src/plugins/vcDoubleClick.ts +++ b/src/plugins/vcDoubleClick.ts @@ -55,7 +55,7 @@ export default definePlugin({ find: 'className:"channelMention",iconType:(', replacement: { match: /onClick:(.{1,3}),/, - replace: "onClick:(_vcEv)=>_vcEv.detail>=2&&($1)(),", + replace: "onClick:(_vcEv)=>_vcEv.detail>=2||_vcEv.target.className.includes('MentionText')&&($1)(),", } } ], |