From 39909d95c44b94cd27e7bce81d88dbda3840ea46 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 17 Oct 2024 04:10:15 -0400 Subject: [PATCH] Revert Replace --- src/plugins/imageZoom/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx index ada98a36..6b4a10fc 100644 --- a/src/plugins/imageZoom/index.tsx +++ b/src/plugins/imageZoom/index.tsx @@ -163,7 +163,7 @@ export default definePlugin({ // also idk if this patch is good, should it be more specific? // https://regex101.com/r/xfvNvV/1 match: /return.{1,200}\.wrapper.{1,200}src:\i,/g, - replace: "$&id: 'vc-imgzoom-magnify-modal'," + replace: `$&id: '${ELEMENT_ID}',` } },