We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 716252b + 9082608 commit b7b68dfCopy full SHA for b7b68df
MMM-SimpleLogo.js
@@ -13,7 +13,7 @@ Module.register("MMM-SimpleLogo", {
13
var self = this;
14
var imgsrc = self.config.fileUrl;
15
setInterval(function() {
16
- img = document.querySelector(".simple-logo__container img[src='"+imgsrc+"']");
+ img = document.querySelector(".simple-logo__container img[src*='" + imgsrc + "']");
17
imgsrc = self.config.fileUrl + '?' + Date.now();
18
img.setAttribute('src', imgsrc);
19
}, this.config.refreshInterval);
0 commit comments