fix: pronoundb profile popout (#1860)
This commit is contained in:
parent
e69236c5f8
commit
cd06980016
|
@ -57,8 +57,8 @@ export default definePlugin({
|
||||||
find: ".userTagNoNickname",
|
find: ".userTagNoNickname",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /,(\i)=(\i)\.pronouns/,
|
match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i;/,
|
||||||
replace: ",[$1,vcPronounSource]=$self.useProfilePronouns($2.user.id)"
|
replace: "$&let vcPronounSource;[$2,vcPronounSource]=$self.useProfilePronouns($1.id);"
|
||||||
},
|
},
|
||||||
PRONOUN_TOOLTIP_PATCH
|
PRONOUN_TOOLTIP_PATCH
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue