mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 22:48:21 +00:00
Fix edge case behaviour caused by our weird reuse of DOM nodes between owners
This commit is contained in:
@@ -269,6 +269,9 @@ abstract class PillPart extends BasePart implements IPillPart {
|
|||||||
if (node.className !== this.className) {
|
if (node.className !== this.className) {
|
||||||
node.className = this.className;
|
node.className = this.className;
|
||||||
}
|
}
|
||||||
|
if (node.onclick !== this.onClick) {
|
||||||
|
node.onclick = this.onClick;
|
||||||
|
}
|
||||||
this.setAvatar(node);
|
this.setAvatar(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user