Update.
This commit is contained in:
parent
b9b31a494a
commit
b4c267d584
@ -256,7 +256,9 @@ class MessageList extends HTMLElement {
|
||||
this.querySelectorAll('.avatar').forEach((el) => {
|
||||
const anchor = el.closest('a');
|
||||
if (anchor && typeof anchor.href === 'string' && anchor.href.includes(uid)) {
|
||||
lastElement = el;
|
||||
if(!lastElement)
|
||||
lastElement = el;
|
||||
|
||||
}
|
||||
});
|
||||
if (lastElement) {
|
||||
|
Loading…
Reference in New Issue
Block a user