client/models: fix notifying about list changes
This commit is contained in:
parent
46435182f6
commit
059bac877b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class AbstractList extends events.EventTarget {
|
|||
ret.remove(addedItem);
|
||||
});
|
||||
addedItem.addEventListener('change', e => {
|
||||
this.dispatchEvent(new CustomEvent('change', {
|
||||
ret.dispatchEvent(new CustomEvent('change', {
|
||||
detail: e.detail,
|
||||
}));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue