mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 12:08:31 +08:00

For transitions to nested routes (e.g. /u/blah/activity), where each layer has an async model hook, the `loading` event will be fired twice within the same transition. This was causing the loading slider to jump backwards halfway through loading. This commit fixes things to handle nested loading events with a single animation.