t
            }

            // Popup if all questions answered
            if (attemptNumber == {{ C.NUM_TASKS | json}}-1) {
                  $(function () {
                        $("#no-one-left").dialog("open");
                  });
                  document.getElementById("tasks").style.display = "none";
                  return;
            }

            if (answerCorrect) {
                correctnessField.innerHTML = 'Ihre letzte Summe war <span class="text-success">richtig</span>.';
          