missed a single quote

This commit is contained in:
Régis Hanol 2013-10-23 11:25:16 +02:00
parent d05547e7f3
commit e39242b6ff

View File

@ -14,7 +14,7 @@ Discourse.PostLinkView = Discourse.View.extend({
render: function(buffer) { render: function(buffer) {
var clicks; var clicks;
buffer.push("<a href='" + this.get('content.url') + "' class='track-link'>"); buffer.push("<a href='" + this.get('content.url') + "' class='track-link'>");
buffer.push("<i class='icon icon-arrow-'" + this.direction() + "></i>"); buffer.push("<i class='icon icon-arrow-'" + this.direction() + '"></i>");
buffer.push(this.get('content.title')); buffer.push(this.get('content.title'));
if (clicks = this.get('content.clicks')) { if (clicks = this.get('content.clicks')) {
buffer.push("<span class='badge badge-notification clicks'>" + clicks + "</span>"); buffer.push("<span class='badge badge-notification clicks'>" + clicks + "</span>");