make jshint happy

This commit is contained in:
Régis Hanol 2015-02-18 12:37:32 +01:00
parent 206d3233c9
commit e9f161e2bc

View File

@ -17,8 +17,8 @@ export default Discourse.Route.extend({
composePrivateMessage: function(user, post) { composePrivateMessage: function(user, post) {
var recipient = user ? user.get('username') : '', var recipient = user ? user.get('username') : '',
reply = post ? window.location.protocol + "//" + window.location.host + post.get("url") : null reply = post ? window.location.protocol + "//" + window.location.host + post.get("url") : null;
return this.controllerFor('composer').open({ return this.controllerFor('composer').open({
action: Discourse.Composer.PRIVATE_MESSAGE, action: Discourse.Composer.PRIVATE_MESSAGE,
usernames: recipient, usernames: recipient,