From 5f71c2cac10fe6ca098f754b1e11e7be126c8e02 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 25 Dec 2020 20:47:40 +0100 Subject: [PATCH] Update 'bauchbinde' --- static/bauchbinde/assets/script.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/bauchbinde/assets/script.js b/static/bauchbinde/assets/script.js index f4dfe01..ca688a6 100644 --- a/static/bauchbinde/assets/script.js +++ b/static/bauchbinde/assets/script.js @@ -50,7 +50,7 @@ const value = decodeURIComponent(pair.join('=')); if (key === 'headline') { - headline = value + ','; + headline = value; } if (key === 'speaker') { speaker = value; @@ -92,6 +92,10 @@ } } } + + if (speaker) { + headline += ','; + } const headlineEl = document.createElement('span'); headlineEl.classList.add('headline'); @@ -249,4 +253,3 @@ await animate(); }); })(); -