fixed JSHINT
This commit is contained in:
parent
e39242b6ff
commit
3cc08c3b27
|
@ -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>");
|
||||||
|
|
Loading…
Reference in New Issue