mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
Perfect Horror
This commit is contained in:
parent
26fc9ace0c
commit
1cca020b8f
1 changed files with 3 additions and 3 deletions
|
@ -618,15 +618,15 @@ export default definePlugin({
|
|||
|
||||
// https://regex101.com/r/TMV1vY/1
|
||||
{
|
||||
find: ".removeAttachmentHoverButton",
|
||||
find: ".removeMosaicItemHoverButton",
|
||||
replacement: {
|
||||
match: /(\i=(\i)=>{)(.{1,250}isSingleMosaicItem)/,
|
||||
match: /(\i=(\i)=>{)(.{1,6500}isSingleMosaicItem)/,
|
||||
replace: "$1 let forceUpdate=Vencord.Util.useForceUpdater();$self.patchAttachments($2,forceUpdate);$3"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
find: "handleImageLoad=",
|
||||
find: "handleImageLoad)",
|
||||
replacement: {
|
||||
match: /(render\(\){)(.{1,100}zoomThumbnailPlaceholder)/,
|
||||
replace: "$1$self.checkImage(this);$2"
|
||||
|
|
Loading…
Reference in a new issue