diff options
author | AutumnVN <autumnvnchino@gmail.com> | 2023-10-13 09:07:21 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 04:07:21 +0200 |
commit | c2721f158f8796a0c8a8490e44116a3df5547b71 (patch) | |
tree | f25f83946ea7450b6cd834e18e94f5cbb6ccc6a1 | |
parent | 61cd7b4d99d4a4b90adb73530610d578a7b46334 (diff) | |
download | Vencord-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.tsx | 5 |
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: { |