mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Oops duplicate method name
This commit is contained in:
parent
aa2bc23039
commit
e1a96fc284
|
@ -44,6 +44,7 @@ export default class IndexPage extends Component {
|
|||
|
||||
onunload() {
|
||||
app.cache.scrollTop = $(window).scrollTop();
|
||||
app.composer.minimize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -143,10 +144,6 @@ export default class IndexPage extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
onunload() {
|
||||
app.composer.minimize();
|
||||
}
|
||||
|
||||
newDiscussion() {
|
||||
if (app.session.user()) {
|
||||
app.composer.load(new ComposerDiscussion({ user: app.session.user() }));
|
||||
|
|
Loading…
Reference in New Issue
Block a user