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);
|
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
|
// Clean up any string parameters that might slip through
|
||||||
filterParams = filterParams || {};
|
filterParams = filterParams || {};
|
||||||
|
|
Loading…
Reference in New Issue