# Adding visited class to topic-details instead of just topic-title

**URL:** <https://meta.discourse.org/t/adding-visited-class-to-topic-details-instead-of-just-topic-title/47850>\
**Category:** Development\
**Created:** [2016 年 7 月 27 日午前 5:34 UTC](https://meta.discourse.org/t/adding-visited-class-to-topic-details-instead-of-just-topic-title/47850 "2016-07-27T05:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![andrewroth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andrewroth/32/115142_2.png) [@andrewroth](https://meta.discourse.org/u/andrewroth)\
**Post date:** [2016 年 7 月 27 日午前 6:05 UTC](https://meta.discourse.org/t/adding-visited-class-to-topic-details-instead-of-just-topic-title/47850/3 "2016-07-27T06:05:01Z")

</div>

Ah, I was mistaken in thinking topic-details was coming from discourse core. I didn’t notice the wrapAll’s in the plugin. My mistake.. thanks for the pointer. I’ll take discussion back into the topic previews plugin.

I would still be curious as to where {{topic-list ..}} [discourse/app/assets/javascripts/discourse/templates/discovery/topics.hbs at c58123b421938f8d56469ec737480efc39fc6fdb · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/c58123b421938f8d56469ec737480efc39fc6fdb/app/assets/javascripts/discourse/templates/discovery/topics.hbs#L35) goes to – seems to be a helper but I can’t find where it’s defined.

Thanks again.

---

_[View the full topic](https://meta.discourse.org/t/adding-visited-class-to-topic-details-instead-of-just-topic-title/47850)._
