mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 23:09:46 +08:00
common: fix subtree retainer not adding new callback checks
This commit is contained in:
parent
dcb3cc1701
commit
6a67167eed
|
@ -7,7 +7,7 @@ export default class SubtreeRetainer {
|
|||
}
|
||||
|
||||
check(...callbacks: Function[]) {
|
||||
this.callbacks.concat(...callbacks);
|
||||
this.callbacks.push(...callbacks);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user