Fix edge case behaviour caused by our weird reuse of DOM nodes between owners
This commit is contained in:
parent
069c1f4665
commit
3515b2ca05
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue