dropdown menus could leave ghosts in the cache

This commit is contained in:
Hannes Mannerheim 2016-01-13 22:08:20 +01:00
parent 5319fe4359
commit 89110d38f5

View File

@ -942,6 +942,7 @@ function rememberStreamStateInLocalStorage() {
feed.find('.temp-post').remove();
feed.children('.stream-item').removeClass('not-seen');
feed.children('.stream-item').removeClass('selected-by-keyboard');
feed.find('.dropdown-menu').remove();
feed.find('.stream-item').removeClass('expanded').removeClass('next-expanded').removeClass('hidden').removeClass('collapsing').addClass('visible');
feed.children('.stream-item').each(function() {
cleanUpAfterCollapseQueet($(this));