diff options
author | AutumnVN <autumnvnchino@gmail.com> | 2023-10-03 07:39:34 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 02:39:34 +0200 |
commit | 581fe252a44d7ba24f277cc9d28abd7a8f5d6729 (patch) | |
tree | 2b2a49875254cbac44cf4d8a1e5f5b802e93f2ea | |
parent | 30b2e88e7755691fbcc41e6046761532b4e0a7f7 (diff) | |
download | Vencord-581fe252a44d7ba24f277cc9d28abd7a8f5d6729.tar.gz Vencord-581fe252a44d7ba24f277cc9d28abd7a8f5d6729.tar.bz2 Vencord-581fe252a44d7ba24f277cc9d28abd7a8f5d6729.zip |
fix imageZoom (#1772)
-rw-r--r-- | src/plugins/imageZoom/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx index cca0db0..60f8a22 100644 --- a/src/plugins/imageZoom/index.tsx +++ b/src/plugins/imageZoom/index.tsx @@ -165,7 +165,7 @@ export default definePlugin({ { find: '"renderLinkComponent","maxWidth"', replacement: { - match: /(return\(.{1,100}\(\)\.wrapper.{1,100})(src)/, + match: /(return\(.{1,100}\(\)\.wrapper.{1,200})(src)/, replace: `$1id: '${ELEMENT_ID}',$2` } }, |