mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:17:14 +08:00
b3df0a362b
Previously this logic was only checking the post number. That meant that navigating between the first post of two topics would not trigger the event. In the past, the event would be triggered anyway because the ScrollingPostStream would be destroyed/re-created when navigating between topics. But now that we use the 'loading slider' technique, the same component instance is re-used. The motivation for this commit is to fix the 'DiscoToc' theme component, which relies on the event firing when navigating between topics. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |