blob: 1674236989e2c1c90f4a31cec39db19eb730b0f7 [file] [log] [blame]
<html>
<body>
<p id='x'></p>
</body>
<script>
function toggleFullscreen() {
if (!document.fullscreenElement) {
document.getElementById('x').requestFullscreen();
} else {
document.exitFullscreen();
}
}
document.addEventListener('touchend', function(e) { toggleFullscreen(); }, false);
</script>
</html>