aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/reverseImageSearch.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/reverseImageSearch.tsx')
-rw-r--r--src/plugins/reverseImageSearch.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/reverseImageSearch.tsx b/src/plugins/reverseImageSearch.tsx
index 6335fbd..47954ba 100644
--- a/src/plugins/reverseImageSearch.tsx
+++ b/src/plugins/reverseImageSearch.tsx
@@ -81,8 +81,8 @@ export default definePlugin({
{
find: ".Messages.MESSAGE_ACTIONS_MENU_LABEL",
replacement: {
- match: /(?<=favoriteableType:\i,)(?<=(\i)\.getAttribute\("data-type"\).+?)/,
- replace: (_, target) => `reverseImageSearchType:${target}.getAttribute("data-role"),`
+ match: /favoriteableType:\i,(?<=(\i)\.getAttribute\("data-type"\).+?)/,
+ replace: (m, target) => `${m}reverseImageSearchType:${target}.getAttribute("data-role"),`
}
}
],