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(); }); })(); -