diff --git a/js/dom-functions.js b/js/dom-functions.js index ecb889b..4e0ed3f 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -358,7 +358,9 @@ function openExternalProfileInPopup(data) { var noticeHtml = ''; if(typeof data.status != 'undefined') { data.status.user = data; - var noticeHtml = buildQueetHtml(data.status); + var $noticeHtmlObj = $('
').append(buildQueetHtml(data.status)); + $noticeHtmlObj.find('.queet-thumbs').remove(); + var noticeHtml = $noticeHtmlObj.outerHTML(); } popUpAction('popup-external-profile', data.screenNameWithServer,data.profileCard + noticeHtml,'' + window.sL.goToExternalProfile + ''); @@ -381,7 +383,9 @@ function openLocalProfileInPopup(data) { var noticeHtml = ''; if(typeof data.status != 'undefined') { data.status.user = data; - var noticeHtml = buildQueetHtml(data.status); + var $noticeHtmlObj = $('
').append(buildQueetHtml(data.status)); + $noticeHtmlObj.find('.queet-thumbs').remove(); + var noticeHtml = $noticeHtmlObj.outerHTML(); } popUpAction('popup-local-profile', '@' + data.screen_name, data.profileCardHtml + '
' + noticeHtml,'' + window.sL.goToExternalProfile + '');