From a143ad6ae0f6fd2bc41b2fef009035d7a7b85adb Mon Sep 17 00:00:00 2001 From: murtaugh Date: Tue, 2 Jun 2020 16:59:32 +0200 Subject: [PATCH] Update '12/liveplayer.js' --- 12/liveplayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12/liveplayer.js b/12/liveplayer.js index 4464bb3..62b4659 100644 --- a/12/liveplayer.js +++ b/12/liveplayer.js @@ -29,7 +29,7 @@ function liveplayer (elt) { console.log("****", iframe, d.artist); if (iframe&&d.artist){ - if ((d.artist.endsWith(".jpg") || d.arts.endsWith(".png")) { + if (d.artist.endsWith(".jpg") || d.artist.endsWith(".png")) { console.log("IMAGE", d.artist); iframe.style.backgroundImage: d.artist; iframe.src = "blank.html";