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