Fix the double correction

- Fixes one mangled app.translator call.
This commit is contained in:
dcsjapan 2015-10-20 15:44:58 +09:00
parent 49d59089e4
commit 659cfb72ad

View File

@ -55,7 +55,7 @@ export default {
!app.session.user || discussion.canReply()
? Button.component({
icon: 'reply',
children: app.translator.translator.trans(app.session.user ? 'core.forum.discussion_controls.reply_button' : 'core.forum.discussion_controls.log_in_to_reply_button'),
children: app.translator.trans(app.session.user ? 'core.forum.discussion_controls.reply_button' : 'core.forum.discussion_controls.log_in_to_reply_button'),
onclick: this.replyAction.bind(discussion, true, false)
})
: Button.component({