Stoopid iOS

This commit is contained in:
Mattia Mascarello 2021-10-09 19:34:40 +02:00 committed by GitHub
parent 52a7c3ae44
commit 90e5632363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,9 @@ function sef(filename) {
new Audio("assets/music/" + filename + ".mp3").play(); new Audio("assets/music/" + filename + ".mp3").play();
} }
$("#playBegin").click(function () { $("#playBegin").click(function () {
document.getElementsByTagName("html")[0].requestFullscreen(); try {
document.getElementsByTagName("html")[0].requestFullscreen();
} catch(e){}
audiosegm(); audiosegm();
$(this).fadeOut(); $(this).fadeOut();
}); });
@ -104,4 +106,4 @@ $(".ans").click(function () {
} }
displayQuestion(); displayQuestion();
$("#correct").fadeOut(); $("#correct").fadeOut();
}); });