diff --git a/app/assets/javascripts/discourse/views/post_link_view.js b/app/assets/javascripts/discourse/views/post_link_view.js
index c4f74b789f6..60a93c18be7 100644
--- a/app/assets/javascripts/discourse/views/post_link_view.js
+++ b/app/assets/javascripts/discourse/views/post_link_view.js
@@ -8,23 +8,17 @@
**/
Discourse.PostLinkView = Discourse.View.extend({
tagName: 'li',
- classNameBindings: ['direction'],
- direction: function() {
- if (this.get('content.reflection')) return 'incoming';
- return null;
- }.property('content.reflection'),
+ direction: function() { return this.get('content.reflection') ? "left" : "right"; },
render: function(buffer) {
var clicks;
- buffer.push("\n");
- buffer.push("");
+ buffer.push("");
+ buffer.push("");
buffer.push(this.get('content.title'));
if (clicks = this.get('content.clicks')) {
- buffer.push("\n" + clicks + "");
+ buffer.push("" + clicks + "");
}
- return buffer.push("");
+ buffer.push("");
}
});
-
-