aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-04-19 15:54:31 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-04-19 15:54:31 +0200
commit2a1494712855b8faf72a6090750fc0087477b3d9 (patch)
tree7a6cf63a8ea09add6afa5a04eb508e10d6c89ac6 /src
parent25468bcc06d0feab98c9bf38888200aa089c20ef (diff)
downloadsite-2a1494712855b8faf72a6090750fc0087477b3d9.tar.gz
site-2a1494712855b8faf72a6090750fc0087477b3d9.zip
Better link generation
Diffstat (limited to 'src')
-rw-r--r--src/@jitsi.pug2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/@jitsi.pug b/src/@jitsi.pug
index 50c20a5..3eedc46 100644
--- a/src/@jitsi.pug
+++ b/src/@jitsi.pug
@@ -83,7 +83,7 @@ block content
}
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.href = l
})