From 9b2e85055335e51502aaeddc66be2858b40d5e87 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Mon, 8 Sep 2014 01:15:40 -0700 Subject: [PATCH] UX: suppress outgoing right arrow on gutter links --- .../javascripts/discourse/components/post-gutter.js.es6 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/post-gutter.js.es6 b/app/assets/javascripts/discourse/components/post-gutter.js.es6 index 056c48c1c1e..cb80320d93d 100644 --- a/app/assets/javascripts/discourse/components/post-gutter.js.es6 +++ b/app/assets/javascripts/discourse/components/post-gutter.js.es6 @@ -37,7 +37,10 @@ export default Em.Component.extend({ clicks = Em.get(l, 'clicks'); buffer.push("
  • "); - buffer.push(""); + /* suppress right arrow as it is the common, expected case */ + if (direction == 'left') { + buffer.push(""); + } var title = Em.get(l, 'title'); if (!Em.isEmpty(title)) { buffer.push(Handlebars.Utils.escapeExpression(title));