mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 06:26:03 +08:00

We only want to scroll to the top for successful transitions. If a transition is aborted (e.g. when clicking a chat link when chat is in drawer mode) then we should maintain the existing scroll location.