# Javascript in theme component only runs once?

**URL:** <https://meta.discourse.org/t/javascript-in-theme-component-only-runs-once/106202>\
**Category:** Product Support\
**Created:** [January 10, 2019, 3:52pm UTC](https://meta.discourse.org/t/javascript-in-theme-component-only-runs-once/106202 "2019-01-10T15:52:05Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**Post date:** [January 10, 2019, 7:00pm UTC](https://meta.discourse.org/t/javascript-in-theme-component-only-runs-once/106202/9 "2019-01-10T19:00:17Z")

</div>

Thanks! It would have taken me a while to figure that out, not knowing javascript, much less the intricacies of Discourse. 🙂

It’s working like a charm.

I appreciate all the help you guys give.

---

_[View the full topic](https://meta.discourse.org/t/javascript-in-theme-component-only-runs-once/106202)._
