mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 16:55:08 +00:00
FIX: Scroll position when using the back button
This commit is contained in:
parent
299013b471
commit
57e3865d18
@ -217,10 +217,12 @@ Discourse.TopicList.reopenClass({
|
||||
}
|
||||
return resolve(cachedList);
|
||||
}
|
||||
session.set('topicList', null);
|
||||
} else {
|
||||
// Clear the cache
|
||||
session.setProperties({topicList: null, topicListScrollPosition: null});
|
||||
}
|
||||
|
||||
// Clear the cache
|
||||
session.setProperties({topicList: null, topicListScrollPosition: null});
|
||||
|
||||
// Clean up any string parameters that might slip through
|
||||
filterParams = filterParams || {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user