diff --git a/templates/quiz_multiplayer.html b/templates/quiz_multiplayer.html index cffc898..accd9f0 100644 --- a/templates/quiz_multiplayer.html +++ b/templates/quiz_multiplayer.html @@ -56,6 +56,12 @@ {% endblock %} {% block extra_body %} + {% if local_multiplayer %}
@@ -270,16 +276,9 @@ window.onload = function() { } document.getElementById('startPosition').value = getOption('startPosition', 'start'); - // Prüfe, ob Namen im LocalStorage sind - const names = JSON.parse(localStorage.getItem('quizify_multiplayer_names') || "[]"); - if (names.length < 2) { - // Popup anzeigen - if (document.getElementById('multiplayerPopup')) { - document.getElementById('multiplayerPopup').style.display = 'flex'; - } - } else { - updateMultiplayerUI(); - quizifyReady(); + // Popup immer anzeigen, weil LocalStorage oben geleert wurde + if (document.getElementById('multiplayerPopup')) { + document.getElementById('multiplayerPopup').style.display = 'flex'; } };