mirror of
https://github.com/flarum/core.git
synced 2025-08-03 15:07:53 +02:00
common: fix subtree retainer not adding new callback checks
This commit is contained in:
@@ -7,7 +7,7 @@ export default class SubtreeRetainer {
|
||||
}
|
||||
|
||||
check(...callbacks: Function[]) {
|
||||
this.callbacks.concat(...callbacks);
|
||||
this.callbacks.push(...callbacks);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user