mirror of
https://github.com/ryanamay/Vencord.git
synced 2024-09-20 00:50:34 +00:00
fix: hardcode instead of using a capturing group
This commit is contained in:
parent
cd347c361d
commit
bcf9a030f6
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ export default definePlugin({
|
|||
{
|
||||
find: ".embedWrapper,embed",
|
||||
replacement: [{
|
||||
match: /\.container(?=.+?(this))/g,
|
||||
replace: "$&+($1.props.channel.nsfw? ' vc-nsfw-img': '')"
|
||||
match: /\.container(?=.+?this)/g,
|
||||
replace: "$&+(this.props.channel.nsfw? ' vc-nsfw-img': '')"
|
||||
}]
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue