From 30fc0b2d3bc8245a12ee41f259b4e6186179a8d9 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Sun, 24 Jan 2016 14:02:58 +0100 Subject: [PATCH] fixes https://git.gnu.io/h2p/Qvitter/issues/5 --- js/misc-functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/misc-functions.js b/js/misc-functions.js index 3361188..f2e978e 100644 --- a/js/misc-functions.js +++ b/js/misc-functions.js @@ -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 + '")'); } });