diff --git a/docs/home.html b/docs/home.html index 45ea80e21..91f0f3b2e 100644 --- a/docs/home.html +++ b/docs/home.html @@ -234,13 +234,13 @@ @@ -722,8 +722,8 @@ const parentDiv = document.getElementById(parentId); var script = document.createElement('script'); script.setAttribute('data-autoplay', true); - script.src = 'https://asciinema.org/a/14.js'; - script.id = "asciicast-14"; + script.src = `https://asciinema.org/a/${asciiId}.js`; + script.id = `asciicast-${asciiId}`; script.type = 'text/javascript'; const imageTag = parentDiv.lastElementChild; parentDiv.style.height = `${parentDiv.clientHeight}px`;