mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 13:38:49 +08:00
1d76c5ef5d
For some pages, when navigating to a topic and then pressing the Back
browser button to go back to the topic list, the scroll position was
not preserved and the user was taken to the beginning of the list.
This happened because the application failed to detect when the user
used the Back button and whether the topic list should be fetch from
the cache or not. The scroll position is preserved only for cached
topic lists.
Other improvements:
* Improve isPoppedState
* Reset position for topic-lists from user-activity page
* Remove usage of jQuery
* Make sure the scrollTo function has effect
Follow up to
|
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |