gif paste: fix patch
This commit is contained in:
parent
60088fe006
commit
0dd61ccd30
1 changed files with 3 additions and 3 deletions
|
|
@ -27,10 +27,10 @@ export default definePlugin({
|
|||
authors: [Devs.Ven],
|
||||
|
||||
patches: [{
|
||||
find: '"handleSelectGIF",',
|
||||
find: "handleSelectGIF=",
|
||||
replacement: {
|
||||
match: /"handleSelectGIF",(\i)=>\{/,
|
||||
replace: '"handleSelectGIF",$1=>{if (!this.props.className) return $self.handleSelect($1);'
|
||||
match: /handleSelectGIF=(\i)=>\{/,
|
||||
replace: "$&if (!this.props.className) return $self.handleSelect($1);"
|
||||
}
|
||||
}],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue