1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 15:07:53 +02:00

call parent onremove (#2362)

This commit is contained in:
Wadim Kalmykov
2020-10-05 21:55:14 +07:00
committed by GitHub
parent c6f2ff0c80
commit 718445cb0c

View File

@@ -52,6 +52,7 @@ export default class DiscussionPage extends Page {
}
onremove() {
super.onremove();
// If we are indeed navigating away from this discussion, then disable the
// discussion list pane. Also, if we're composing a reply to this
// discussion, minimize the composer unless it's empty, in which case