mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:52:38 +08:00

`highlight` was called from `didInsertElement` which technically doesn't ensure the list is rendered. By wrapping the highlighting code in `afterRender` we ensure it works more consistently.