mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/models: fix notifying about list changes
This commit is contained in:
@ -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,
|
||||
}));
|
||||
});
|
||||
|
Reference in New Issue
Block a user