diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-19 15:54:31 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-19 15:54:31 +0200 |
commit | 2a1494712855b8faf72a6090750fc0087477b3d9 (patch) | |
tree | 7a6cf63a8ea09add6afa5a04eb508e10d6c89ac6 | |
parent | 25468bcc06d0feab98c9bf38888200aa089c20ef (diff) | |
download | site-2a1494712855b8faf72a6090750fc0087477b3d9.tar.gz site-2a1494712855b8faf72a6090750fc0087477b3d9.zip |
Better link generation
-rw-r--r-- | src/@jitsi.pug | 2 |
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 }) |