diff --git a/app/assets/javascripts/discourse/models/composer.js b/app/assets/javascripts/discourse/models/composer.js
index d531de812e5..9080db3ba25 100644
--- a/app/assets/javascripts/discourse/models/composer.js
+++ b/app/assets/javascripts/discourse/models/composer.js
@@ -109,6 +109,7 @@ Discourse.Composer = Discourse.Model.extend({
var postNumber = this.get('post.post_number');
postLink = "" +
Em.String.i18n("post.post_number", { number: postNumber }) + "";
+ topicLink = " " + (Handlebars.Utils.escapeExpression(topic.get('title'))) + "";
}
var replyAvatar, topicLink;
@@ -117,8 +118,6 @@ Discourse.Composer = Discourse.Model.extend({
username: this.get('post.username'),
size: 'tiny'
});
- } else {
- topicLink = " " + (Handlebars.Utils.escapeExpression(topic.get('title'))) + "";
}
switch (this.get('action')) {