From 7895b71817b5675965cfbc21deaac475216c832b Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 1 Mar 2017 15:15:26 -0500 Subject: [PATCH] move to use let, missed a spot --- app/assets/javascripts/discourse/lib/render-tags.js.es6 | 2 +- .../templates/mobile/list/topic-list-item.raw.hbs | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/assets/javascripts/discourse/lib/render-tags.js.es6 b/app/assets/javascripts/discourse/lib/render-tags.js.es6 index c8e1eeabfa7..1389502f77d 100644 --- a/app/assets/javascripts/discourse/lib/render-tags.js.es6 +++ b/app/assets/javascripts/discourse/lib/render-tags.js.es6 @@ -42,7 +42,7 @@ export default function(topic, params){ if (customHtml || (tags && tags.length > 0)) { buffer = "
"; if (tags) { - for(var i=0; i {{/unless}} - {{#if topic.tags}} -
- {{#each topic.visibleListTags as |tag|}} - {{discourse-tag tag}} - {{/each}} -
- {{/if}} + {{discourse-tags topic mode="list"}} {{raw-plugin-outlet name="topic-list-tags"}}