clean up any stray collapsing classes (user might have changed stream while collapsing a notice)

This commit is contained in:
Hannes Mannerheim 2016-01-05 13:24:26 +01:00
parent 37d94defdd
commit 5baaa38a78

View File

@ -940,7 +940,7 @@ function rememberStreamStateInLocalStorage() {
feed.children('.stream-item').removeClass('not-seen');
feed.children('.stream-item').removeClass('selected-by-keyboard');
feed.find('.show-full-conversation').remove();
feed.find('.stream-item').removeClass('expanded').removeClass('next-expanded').removeClass('hidden').addClass('visible');
feed.find('.stream-item').removeClass('expanded').removeClass('next-expanded').removeClass('hidden').removeClass('collapsing').addClass('visible');
var feedHtml = feed.html();
var profileCardHtml = $('#feed').siblings('.profile-card').outerHTML();
var streamData = {