Skip to content

Commit

Permalink
fix crash on new version
Browse files Browse the repository at this point in the history
  • Loading branch information
dimagoltsman authored Jun 3, 2022
1 parent 86c4dde commit e1ade44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/refreshable-picture-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class ResfeshablePictureCard extends HTMLElement {
}

_getPictureUrl(staticPictureUrl){
var pictureUrl = staticPictureUrl;
var pictureUrl = staticPictureUrl || "";
if(pictureUrl.indexOf("?") > -1){
pictureUrl = pictureUrl + "&currentTimeCache=" + (new Date().getTime())
}else{
Expand Down

0 comments on commit e1ade44

Please sign in to comment.