mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
call parent onremove (#2362)
This commit is contained in:
@@ -52,6 +52,7 @@ export default class DiscussionPage extends Page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onremove() {
|
onremove() {
|
||||||
|
super.onremove();
|
||||||
// If we are indeed navigating away from this discussion, then disable the
|
// 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 list pane. Also, if we're composing a reply to this
|
||||||
// discussion, minimize the composer – unless it's empty, in which case
|
// discussion, minimize the composer – unless it's empty, in which case
|
||||||
|
Reference in New Issue
Block a user