fix(vcDoubleClick): add required parentheses (#160)
This commit is contained in:
parent
d6fe937a70
commit
e06ba68c40
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export default definePlugin({
|
|||
find: 'className:"channelMention",iconType:(',
|
||||
replacement: {
|
||||
match: /onClick:(.{1,3}),/,
|
||||
replace: "onClick:(_vcEv)=>_vcEv.detail>=2||_vcEv.target.className.includes('MentionText')&&($1)(),",
|
||||
replace: "onClick:(_vcEv)=>(_vcEv.detail>=2||_vcEv.target.className.includes('MentionText'))&&($1)(),",
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue