Javascript in theme component only runs once?

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

It’s working like a charm.

I appreciate all the help you guys give.