fix undefined commentWrap
This commit is contained in:
parent
2979a2ee5a
commit
08258da944
@ -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'));
|
||||
|
Reference in New Issue
Block a user