From 33aad0967225429a574cb1a7c2c24b174eaab097 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 25 Feb 2016 16:40:53 -0500 Subject: [PATCH] FIX: Missing `inbound` / `outbound` classes --- app/assets/javascripts/discourse/widgets/post-gutter.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 b/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 index f79ec5e5c..177d10321 100644 --- a/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 @@ -34,7 +34,8 @@ export default createWidget('post-gutter', { linkBody.push(h('span.badge.badge-notification.clicks', l.clicks.toString())); } - const link = h('a.track-link', { attributes: { href: l.url } }, linkBody); + const className = l.reflection ? 'inbound' : 'outbound'; + const link = h('a.track-link', { className, attributes: { href: l.url } }, linkBody); result.push(h('li', link)); } }