1
0
Fork 0
forked from Deuxfleurs/site

Better link generation

This commit is contained in:
Quentin 2020-04-19 15:54:31 +02:00
parent 25468bcc06
commit 2a14947128

View file

@ -83,7 +83,7 @@ block content
} }
joinname.addEventListener('input', v => { joinname.addEventListener('input', v => {
const l = get_meeting_url(v.target.value) const l = v.target.value ? get_meeting_url(v.target.value) : ""
joinlink.textContent = l joinlink.textContent = l
joinlink.href = l joinlink.href = l
}) })