Skip to content

Commit

Permalink
Prevent ios scrolling animation
Browse files Browse the repository at this point in the history
  • Loading branch information
stories2 committed Oct 18, 2021
1 parent bcb38b4 commit daaa0f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ <h5 class="modal-title">Calibrate face detection</h5>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./service-worker.js');
}
document.ontouchmove = function(event){
event.preventDefault();
}
</script>
</body>
</html>

0 comments on commit daaa0f6

Please sign in to comment.