aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutumnVN <autumnvnchino@gmail.com>2023-10-13 09:07:21 +0700
committerGitHub <noreply@github.com>2023-10-13 04:07:21 +0200
commitc2721f158f8796a0c8a8490e44116a3df5547b71 (patch)
treef25f83946ea7450b6cd834e18e94f5cbb6ccc6a1
parent61cd7b4d99d4a4b90adb73530610d578a7b46334 (diff)
downloadVencord-c2721f158f8796a0c8a8490e44116a3df5547b71.tar.gz
Vencord-c2721f158f8796a0c8a8490e44116a3df5547b71.tar.bz2
Vencord-c2721f158f8796a0c8a8490e44116a3df5547b71.zip
imageZoom: fix again (#1793)
Co-authored-by: V <vendicated@riseup.net>
-rw-r--r--src/plugins/imageZoom/index.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx
index 60f8a22..1f0d7e1 100644
--- a/src/plugins/imageZoom/index.tsx
+++ b/src/plugins/imageZoom/index.tsx
@@ -174,8 +174,8 @@ export default definePlugin({
find: "handleImageLoad=",
replacement: [
{
- match: /(render=function\(\){.{1,500}limitResponsiveWidth.{1,600})onMouseEnter:/,
- replace: "$1...$self.makeProps(this),onMouseEnter:"
+ match: /showThumbhashPlaceholder:/,
+ replace: "...$self.makeProps(this),$&"
},
{
@@ -189,7 +189,6 @@ export default definePlugin({
}
]
},
-
{
find: ".carouselModal,",
replacement: {