mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +08:00
Oops duplicate method name
This commit is contained in:
parent
b1cbfe0186
commit
0037383d9f
|
@ -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