t-rex-runner
t-rex-runner copied to clipboard
“Press Space to start” text doesn’t disappear on mobile
You could try this:
document.ontouchstart = function(evt) {
if (document.getElementById("messageBox") != null) {
document.getElementById("messageBox").style.visibility="hidden";
}
};