fix theme attributes patch
This commit is contained in:
parent
6afa725632
commit
c8c5d71579
1 changed files with 2 additions and 2 deletions
|
|
@ -29,9 +29,9 @@ export default definePlugin({
|
|||
|
||||
// Add data-author-id and data-is-self to all messages
|
||||
{
|
||||
find: ".messageListItem",
|
||||
find: ".referencedUsernameProfile,referencedAvatarProfile:",
|
||||
replacement: {
|
||||
match: /\.messageListItem(?=,"aria)/,
|
||||
match: /\.\i(?=,"aria-setsize":-1,children:.+?#{intl::MESSAGE_A11Y_ROLE_DESCRIPTION})/,
|
||||
replace: "$&,...$self.getMessageProps(arguments[0])"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue