fix for last commit
This commit is contained in:
parent
977faaade3
commit
eb10b4c906
|
@ -1221,7 +1221,7 @@ function expand_queet(q,doScrolling) {
|
|||
function cleanUpAfterCollapseQueet(streamItem) {
|
||||
var queet = streamItem.children('.queet');
|
||||
streamItem.css('height','auto');
|
||||
streamItem.children('.queet').css('margin-top','0');
|
||||
queet.css('margin-top','0');
|
||||
streamItem.removeClass('expanded');
|
||||
streamItem.prev().removeClass('next-expanded');
|
||||
streamItem.removeClass('collapsing');
|
||||
|
|
|
@ -943,8 +943,8 @@ function rememberStreamStateInLocalStorage() {
|
|||
feed.children('.stream-item').removeClass('not-seen');
|
||||
feed.children('.stream-item').removeClass('selected-by-keyboard');
|
||||
feed.find('.stream-item').removeClass('expanded').removeClass('next-expanded').removeClass('hidden').removeClass('collapsing').addClass('visible');
|
||||
$.each(feed, function(k,streamItem) {
|
||||
cleanUpAfterCollapseQueet($(streamItem));
|
||||
feed.children('.stream-item').each(function() {
|
||||
cleanUpAfterCollapseQueet($(this));
|
||||
});
|
||||
var feedHtml = feed.html();
|
||||
var profileCardHtml = $('#feed').siblings('.profile-card').outerHTML();
|
||||
|
|
Loading…
Reference in New Issue
Block a user