Small JSHint issue

This commit is contained in:
Robin Ward 2013-03-12 14:54:05 -04:00
parent 9d4c8ed323
commit 59c52a6c12
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ Discourse.Composer = Discourse.Model.extend({
actionTitle: (function() {
var topic = this.get('topic');
var postLink;
var postLink, topicLink;
if (topic) {
var postNumber = this.get('post.post_number');
postLink = "<a href='" + (topic.get('url')) + "/" + postNumber + "'>" +
@ -112,7 +112,7 @@ Discourse.Composer = Discourse.Model.extend({
topicLink = "<a href='" + (topic.get('url')) + "'> " + (Handlebars.Utils.escapeExpression(topic.get('title'))) + "</a>";
}
var replyAvatar, topicLink;
var replyAvatar;
if (this.get('post')) {
replyAvatar = Discourse.Utilities.avatarImg({
username: this.get('post.username'),