This commit is contained in:
Hannes Mannerheim 2016-03-07 18:05:58 +01:00
parent a743c6994e
commit 6ecf09bf5c

View File

@ -2169,7 +2169,7 @@ $('body').on('click','.stream-item .queet img.attachment-thumb',function (event)
var thisAttachmentThumbSrc = $(this).attr('src'); var thisAttachmentThumbSrc = $(this).attr('src');
var parentStreamItem = $(this).closest('.stream-item'); var parentStreamItem = $(this).closest('.stream-item');
var $parentStreamItemClone = $('<div/>').append(parentStreamItem.outerHTML()); var $parentStreamItemClone = $('<div/>').append(parentStreamItem.outerHTML());
var $queetThumbsClone = $('<div/>').append($parentStreamItemClone.find('.queet-thumbs').outerHTML()); var $queetThumbsClone = $('<div/>').append($parentStreamItemClone.children('.stream-item').children('.queet').find('.queet-thumbs').outerHTML());
// cleaned version of the stream item to show in the footer // cleaned version of the stream item to show in the footer
cleanStreamItemsFromClassesAndConversationElements($parentStreamItemClone); cleanStreamItemsFromClassesAndConversationElements($parentStreamItemClone);