1
0
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:
David Sevilla Martin
2020-03-10 17:58:50 -04:00
parent dcb3cc1701
commit 6a67167eed

View File

@@ -7,7 +7,7 @@ export default class SubtreeRetainer {
}
check(...callbacks: Function[]) {
this.callbacks.concat(...callbacks);
this.callbacks.push(...callbacks);
}
/**