Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
while streaming, set background override
Browse files Browse the repository at this point in the history
  • Loading branch information
graboskyc committed Feb 28, 2020
1 parent fdf93a4 commit 5d8d83d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Stitch-Hosting/stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
html += '</li>';
$("#mainul").append(html);
lastFind = entry.entryid;

if(entry.hasOwnProperty("image")) {
console.log("has an image");
$('body').css("background-image","url('"+entry.image+"')");
}
});
setTimeout(function() {
query(lastFind)
Expand Down

0 comments on commit 5d8d83d

Please sign in to comment.