1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +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 312bc7d1f4
commit 7c5b274731

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