fix: vcDoubleClick and revealAllSpoilers patch (#517)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
@ -48,7 +48,7 @@ export default definePlugin({
|
||||
},
|
||||
{
|
||||
// channel mentions
|
||||
find: ".EMOJI_IN_MESSAGE_HOVER",
|
||||
find: ".shouldCloseDefaultModals",
|
||||
replacement: {
|
||||
match: /onClick:(\i)(?=,.{0,30}className:"channelMention")/,
|
||||
replace: "onClick:(_vcEv)=>(_vcEv.detail>=2||_vcEv.target.className.includes('MentionText'))&&($1)()",
|
||||
|
Reference in New Issue
Block a user