This commit is contained in:
parent
2fec0c5cd1
commit
30fc0b2d3b
|
@ -802,7 +802,7 @@ function updateUserDataInStream() {
|
|||
|
||||
// cover photos
|
||||
$.each($('.profile-header-inner[data-user-id="' + userArray.local.id + '"]'),function(){
|
||||
if($(this).css('background-image') != 'url("' + userArray.local.cover_photo + '")') {
|
||||
if($(this).css('background-image') != 'url("' + userArray.local.cover_photo + '")' && userArray.local.cover_photo != false) {
|
||||
$(this).css('background-image','url("' + userArray.local.cover_photo + '")');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user