mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
make jshint happy
This commit is contained in:
parent
206d3233c9
commit
e9f161e2bc
@ -17,8 +17,8 @@ export default Discourse.Route.extend({
|
||||
|
||||
composePrivateMessage: function(user, post) {
|
||||
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({
|
||||
action: Discourse.Composer.PRIVATE_MESSAGE,
|
||||
usernames: recipient,
|
||||
|
Loading…
Reference in New Issue
Block a user