mirror of
https://github.com/Vendicated/Vencord
synced 2024-08-26 11:49:13 -04:00
ReverseImageSearch: Fix duplicate find
This commit is contained in:
parent
c7e4bec940
commit
7dc1d4c498
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ export default definePlugin({
|
|||
|
||||
patches: [
|
||||
{
|
||||
find: ".Messages.MESSAGE_ACTIONS_MENU_LABEL",
|
||||
find: ".Messages.MESSAGE_ACTIONS_MENU_LABEL,shouldHideMediaOptions",
|
||||
replacement: {
|
||||
match: /favoriteableType:\i,(?<=(\i)\.getAttribute\("data-type"\).+?)/,
|
||||
replace: (m, target) => `${m}reverseImageSearchType:${target}.getAttribute("data-role"),`
|
||||
|
|
Loading…
Reference in a new issue