From e1ade442db5bbc01f116683e9e3b8a31faecd3b9 Mon Sep 17 00:00:00 2001 From: Dima Goltsman Date: Fri, 3 Jun 2022 11:56:18 +0300 Subject: [PATCH] fix crash on new version --- dist/refreshable-picture-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/refreshable-picture-card.js b/dist/refreshable-picture-card.js index 08d4ab4..65d3146 100755 --- a/dist/refreshable-picture-card.js +++ b/dist/refreshable-picture-card.js @@ -150,7 +150,7 @@ class ResfeshablePictureCard extends HTMLElement { } _getPictureUrl(staticPictureUrl){ - var pictureUrl = staticPictureUrl; + var pictureUrl = staticPictureUrl || ""; if(pictureUrl.indexOf("?") > -1){ pictureUrl = pictureUrl + "¤tTimeCache=" + (new Date().getTime()) }else{