Oops duplicate method name

This commit is contained in:
Toby Zerner 2015-05-18 10:48:48 +09:30
parent b1cbfe0186
commit 0037383d9f

View File

@ -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() }));