fix undefined commentWrap

This commit is contained in:
friendica 2013-07-04 15:46:20 -07:00
parent 2979a2ee5a
commit 08258da944

View File

@ -351,9 +351,12 @@ function updateConvItems(mode,data) {
var ident = $(this).attr('id');
var commentWrap = $('#'+ident+' .collapsed-comments').attr('id');
var itmId = commentWrap.replace('collapsed-comments-','');
var itmId = 0;
var isVisible = false;
if(typeof commentWrap !== 'undefined')
itmId = commentWrap.replace('collapsed-comments-','');
if($('#' + ident).length == 0 && profile_page == 1) {
$('img',this).each(function() {
$(this).attr('src',$(this).attr('dst'));