mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 01:58:12 +08:00
bdba17cdf7
Safari uses an aggressive back/forward cache, which means the app loads very quickly when hitting Back. But, in topics with > 30 posts, hitting Back runs post stream calculations too early, which means that users get taken back to an earlier point in the stream, consistently. Using `onpageshow`, we can restore the correct location before the post stream calculations take place. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |