fixed JSHINT

This commit is contained in:
Régis Hanol 2013-10-23 11:27:50 +02:00
parent e39242b6ff
commit 3cc08c3b27
1 changed files with 1 additions and 1 deletions

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>");