mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +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() {
|
onunload() {
|
||||||
app.cache.scrollTop = $(window).scrollTop();
|
app.cache.scrollTop = $(window).scrollTop();
|
||||||
|
app.composer.minimize();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -143,10 +144,6 @@ export default class IndexPage extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onunload() {
|
|
||||||
app.composer.minimize();
|
|
||||||
}
|
|
||||||
|
|
||||||
newDiscussion() {
|
newDiscussion() {
|
||||||
if (app.session.user()) {
|
if (app.session.user()) {
|
||||||
app.composer.load(new ComposerDiscussion({ user: app.session.user() }));
|
app.composer.load(new ComposerDiscussion({ user: app.session.user() }));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user