grgr.me

latest commits to https://grgr.me/
Log | Files | Refs

commit 0b050d5678e138e78b591c13e21a4178dc3dab94
parent e6217bbd87be1d88a1d6c3fe7a0d9239b4cc28aa
Author: corndog <cauchyn@firemail.cc>
Date:   Tue, 14 May 2019 21:51:49 -0700

Form url after we know we need it

Should have included this in the prior commit

Diffstat:
Min/me/index.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/in/me/index.md b/in/me/index.md @@ -4,9 +4,9 @@ tags: prose <script> function toggleYT(id) { - const url = "https://www.youtube.com/embed/" + id; const div = document.getElementById(id); if (!div.hasChildNodes()) { + const url = "https://www.youtube.com/embed/" + id; const iframe = document.createElement('iframe'); iframe.setAttribute("src", url); iframe.setAttribute("allow", "encrypted-media");