From 2a1494712855b8faf72a6090750fc0087477b3d9 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 19 Apr 2020 15:54:31 +0200 Subject: Better link generation --- src/@jitsi.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/@jitsi.pug') 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 }) -- cgit v1.2.3