From 59c52a6c12102347c2356a70334a82343fb099e8 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 12 Mar 2013 14:54:05 -0400 Subject: [PATCH] Small JSHint issue --- app/assets/javascripts/discourse/models/composer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/models/composer.js b/app/assets/javascripts/discourse/models/composer.js index 9080db3ba25..247b767723b 100644 --- a/app/assets/javascripts/discourse/models/composer.js +++ b/app/assets/javascripts/discourse/models/composer.js @@ -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 = "" + @@ -112,7 +112,7 @@ Discourse.Composer = Discourse.Model.extend({ topicLink = " " + (Handlebars.Utils.escapeExpression(topic.get('title'))) + ""; } - var replyAvatar, topicLink; + var replyAvatar; if (this.get('post')) { replyAvatar = Discourse.Utilities.avatarImg({ username: this.get('post.username'),