Small JSHint issue
This commit is contained in:
parent
9d4c8ed323
commit
59c52a6c12
|
@ -104,7 +104,7 @@ Discourse.Composer = Discourse.Model.extend({
|
||||||
actionTitle: (function() {
|
actionTitle: (function() {
|
||||||
var topic = this.get('topic');
|
var topic = this.get('topic');
|
||||||
|
|
||||||
var postLink;
|
var postLink, topicLink;
|
||||||
if (topic) {
|
if (topic) {
|
||||||
var postNumber = this.get('post.post_number');
|
var postNumber = this.get('post.post_number');
|
||||||
postLink = "<a href='" + (topic.get('url')) + "/" + postNumber + "'>" +
|
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>";
|
topicLink = "<a href='" + (topic.get('url')) + "'> " + (Handlebars.Utils.escapeExpression(topic.get('title'))) + "</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
var replyAvatar, topicLink;
|
var replyAvatar;
|
||||||
if (this.get('post')) {
|
if (this.get('post')) {
|
||||||
replyAvatar = Discourse.Utilities.avatarImg({
|
replyAvatar = Discourse.Utilities.avatarImg({
|
||||||
username: this.get('post.username'),
|
username: this.get('post.username'),
|
||||||
|
|
Loading…
Reference in New Issue