This commit is contained in:
Hannes Mannerheim 2016-01-24 14:02:58 +01:00
parent 2fec0c5cd1
commit 30fc0b2d3b

View File

@ -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 + '")');
}
});