Added "Pull up" sound

This commit is contained in:
Mattia Mascarello 2021-11-21 19:04:35 +01:00 committed by GitHub
parent abf7af0c6b
commit 56a8d6c52d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ $.getJSON("data.json", function (d) {
displayQuestion(); displayQuestion();
}); });
function displayQuestion() { function displayQuestion() {
if(total < 200) sef("pullup");
$("html, body").scrollTop(0); $("html, body").scrollTop(0);
if (total < 1) { if (total < 1) {
audio.pause(); audio.pause();