Oops duplicate method name

This commit is contained in:
Toby Zerner 2015-05-18 10:48:48 +09:30
parent aa2bc23039
commit e1a96fc284

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